mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-26 22:09:35 +00:00
48d5a1cd1a
Signed-off-by: Evan Lezar <elezar@nvidia.com>
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 '/'
|
|
}
|