lib/fs: Consider options in case-fs caching (fixes #7371) (#7381)

This commit is contained in:
Simon Frei
2021-02-19 11:06:25 +01:00
committed by GitHub
parent 78c2844e3f
commit aa1c274231
4 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func (f FolderConfiguration) Filesystem() fs.Filesystem {
}
filesystem := fs.NewFilesystem(f.FilesystemType, f.Path, opts...)
if !f.CaseSensitiveFS {
filesystem = fs.NewCaseFilesystem(filesystem)
filesystem = fs.NewCaseFilesystem(filesystem, opts...)
}
return filesystem
}