mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-30 08:16:57 +00:00
48d5a1cd1a
Signed-off-by: Evan Lezar <elezar@nvidia.com>
10 lines
216 B
Go
10 lines
216 B
Go
package filepath
|
|
|
|
import "strings"
|
|
|
|
// Join is an explicit-OS version of path/filepath's Join.
|
|
func Join(os string, elem ...string) string {
|
|
sep := Separator(os)
|
|
return Clean(os, strings.Join(elem, string(sep)))
|
|
}
|