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

Struct localPath

pkg/cmd/cp/filespec.go:38–40  ·  view source on GitHub ↗

localPath represents a client-native path, which will differ based on the client OS, its methods will use path/filepath package which is OS dependant

Source from the content-addressed store, hash-verified

36// on the client OS, its methods will use path/filepath package which
37// is OS dependant
38type localPath struct {
39 file string
40}
41
42func newLocalPath(fileName string) localPath {
43 file := stripTrailingSlash(fileName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected