restic/internal/restorer/restorer_unix.go
2025-11-30 11:53:23 +01:00

9 lines
296 B
Go

//go:build !windows
package restorer
// toComparableFilename returns a filename suitable for equality checks. On Windows, it returns the
// uppercase version of the string. On all other systems, it returns the unmodified filename.
func toComparableFilename(path string) string {
return path
}