MCPcopy
hub / github.com/kubernetes/kubectl / remotePath

Struct remotePath

pkg/cmd/cp/filespec.go:85–87  ·  view source on GitHub ↗

remotePath represents always UNIX path, its methods will use path package which is always using `/`

Source from the content-addressed store, hash-verified

83// remotePath represents always UNIX path, its methods will use path
84// package which is always using `/`
85type remotePath struct {
86 file string
87}
88
89func newRemotePath(fileName string) remotePath {
90 // we assume remote file is a linux container but we need to convert

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected