mirror of
https://github.com/octoleo/restic.git
synced 2024-12-30 13:40:36 +00:00
11 lines
315 B
Go
11 lines
315 B
Go
|
//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
|
||
|
}
|