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

This commit is contained in:
Simon Frei
2021-02-22 18:27:40 +01:00
committed by Jakob Borg
parent b0cce98648
commit 9be6f1a70e
4 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -50,7 +50,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
}