Preserve file/dir name case when loading data

Fixes #11979
This commit is contained in:
Bjørn Erik Pedersen
2024-02-03 15:43:28 +01:00
parent 058f230a1b
commit 46575baa02
4 changed files with 20 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ func (fi *File) pathToDir(s string) string {
}
func (fi *File) p() *paths.Path {
return fi.fim.Meta().PathInfo
return fi.fim.Meta().PathInfo.Unmormalized()
}
func NewFileInfoFrom(path, filename string) *File {