Windows: Updates Windows Vendoring
Updates windows dependent libraries for vendoing.
This commit is contained in:
14
vendor/github.com/Microsoft/hcsshim/internal/ospath/join.go
generated
vendored
Normal file
14
vendor/github.com/Microsoft/hcsshim/internal/ospath/join.go
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
package ospath
|
||||
|
||||
import (
|
||||
"path"
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// Join joins paths using the target OS's path separator.
|
||||
func Join(os string, elem ...string) string {
|
||||
if os == "windows" {
|
||||
return filepath.Join(elem...)
|
||||
}
|
||||
return path.Join(elem...)
|
||||
}
|
Reference in New Issue
Block a user