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

Method Join

pkg/cmd/cp/filespec.go:63–65  ·  view source on GitHub ↗
(elem pathSpec)

Source from the content-addressed store, hash-verified

61}
62
63func (p localPath) Join(elem pathSpec) localPath {
64 return newLocalPath(filepath.Join(p.file, elem.String()))
65}
66
67func (p localPath) Glob() (matches []string, err error) {
68 return filepath.Glob(p.file)

Callers 15

MakeLabelsFunction · 0.45
WarningsMethod · 0.45
errorsMethod · 0.45
TestFileServingFunction · 0.45
TestAPIRequestsFunction · 0.45
validation_test.goFile · 0.45
HandlePluginCommandFunction · 0.45
TestListPluginsFunction · 0.45
pluginCompletionFunction · 0.45
ListPluginsMethod · 0.45
copyToPodMethod · 0.45
recursiveTarFunction · 0.45

Calls 2

newLocalPathFunction · 0.85
StringMethod · 0.65

Tested by 15

TestFileServingFunction · 0.36
TestAPIRequestsFunction · 0.36
TestListPluginsFunction · 0.36
TestCopyToPodFunction · 0.36
TestCopyFromPodFunction · 0.36
TestWhoAmIRunFunction · 0.36
isForMethod · 0.36
isForMethod · 0.36
TestDiffVersionFunction · 0.36
TestDifferFunction · 0.36
TestShowManagedFieldsFunction · 0.36