Skip to content

Commit

Permalink
lib/fs: Use generic case resolver on windows (fixes #6968) (#6969)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsodin committed Sep 8, 2020
1 parent ecc2442 commit b628ec5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 77 deletions.
13 changes: 0 additions & 13 deletions lib/fs/basicfs_realcaser_unix.go

This file was deleted.

58 changes: 0 additions & 58 deletions lib/fs/basicfs_realcaser_windows.go

This file was deleted.

7 changes: 1 addition & 6 deletions lib/fs/casefs.go
Expand Up @@ -74,12 +74,7 @@ func NewCaseFilesystem(fs Filesystem) Filesystem {
}
caseFs := &caseFilesystem{
Filesystem: fs,
}
switch k.fstype {
case FilesystemTypeBasic:
caseFs.realCaser = newBasicRealCaser(fs)
default:
caseFs.realCaser = newDefaultRealCaser(fs)
realCaser: newDefaultRealCaser(fs),
}
caseFilesystems[k] = caseFs
return caseFs
Expand Down

0 comments on commit b628ec5

Please sign in to comment.