File tree 1 file changed +1
-1
lines changed 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ var _ FS = (*vfs)(nil)
69
69
// For paths like `c:/foo/bar`, fsys will be used as though it's rooted at `/` and the path is `/c:/foo/bar`.
70
70
func FromIOFS (useCaseSensitiveFileNames bool , fsys fs.FS ) FS {
71
71
return & vfs {
72
- readSema : osReadSema ,
73
72
// !!! The passed in FS may not actually respect case insensitive file names.
74
73
useCaseSensitiveFileNames : useCaseSensitiveFileNames ,
75
74
rootFor : func (root string ) fs.FS {
@@ -95,6 +94,7 @@ func FromIOFS(useCaseSensitiveFileNames bool, fsys fs.FS) FS {
95
94
func FromOS () FS {
96
95
useCaseSensitiveFileNames := isFileSystemCaseSensitive ()
97
96
return & vfs {
97
+ readSema : osReadSema ,
98
98
useCaseSensitiveFileNames : useCaseSensitiveFileNames ,
99
99
rootFor : os .DirFS ,
100
100
realpath : func (path string ) (string , error ) {
You can’t perform that action at this time.
0 commit comments