File: path_nix.go

package info (click to toggle)
git-lfs 3.3.0-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,676 kB
  • sloc: sh: 19,133; makefile: 487; ruby: 228
file content (13 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build !windows
// +build !windows

package commands

// cleanRootPath is a no-op on every platform except Windows
func cleanRootPath(pattern string) string {
	return pattern
}

func osLineEnding() string {
	return "\n"
}