1
0
mirror of https://github.com/restic/restic.git synced 2024-07-27 12:37:40 +02:00
restic/internal/restorer/restorer_unix.go

11 lines
315 B
Go
Raw Normal View History

//go:build !windows
// +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
}