Initial commit
This commit is contained in:
19
vendor/github.com/hyperhq/hypercli/api/client/utils_unix.go
generated
vendored
Normal file
19
vendor/github.com/hyperhq/hypercli/api/client/utils_unix.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// +build !windows
|
||||
|
||||
package client
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
func getContextRoot(srcPath string) (string, error) {
|
||||
return filepath.Join(srcPath, "."), nil
|
||||
}
|
||||
|
||||
func convertToUnixPath(path string) (int, string) {
|
||||
return 0, path
|
||||
}
|
||||
|
||||
func recoverPath(pathType int, path string) string {
|
||||
return path
|
||||
}
|
||||
Reference in New Issue
Block a user