k3s/vendor/github.com/opencontainers/runtime-tools/filepath/separator.go
Darren Shepherd fa08d6076c Update vendor
2019-01-11 21:58:27 -07:00

10 lines
173 B
Go

package filepath
// Separator is an explicit-OS version of path/filepath's Separator.
func Separator(os string) rune {
if os == "windows" {
return '\\'
}
return '/'
}