mirror of https://github.com/k3s-io/k3s
10 lines
173 B
Go
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 '/'
|
||
|
}
|