MCPcopy Create free account
hub / github.com/coder/envbuilder / Join

Method Join

internal/workingdir/workingdir.go:51–53  ·  view source on GitHub ↗

Join returns the result of filepath.Join([m.Path, paths...]).

(paths ...string)

Source from the content-addressed store, hash-verified

49
50// Join returns the result of filepath.Join([m.Path, paths...]).
51func (m WorkingDir) Join(paths ...string) string {
52 return filepath.Join(append([]string{m.Path()}, paths...)...)
53}
54
55// String returns the string representation of the WorkingDir.
56func (m WorkingDir) Path() string {

Callers 15

Test_WorkingDirFunction · 0.95
BuiltMethod · 0.95
ImageMethod · 0.95
FeaturesMethod · 0.95
runFunction · 0.80
RunCacheProbeFunction · 0.80
findDevcontainerJSONFunction · 0.80
initDockerConfigOverrideFunction · 0.80
CompileMethod · 0.80
compileFeaturesMethod · 0.80

Calls 1

PathMethod · 0.95

Tested by 6

Test_WorkingDirFunction · 0.76
TestCompileDevContainerFunction · 0.64
TestShallowCloneRepoFunction · 0.64
writeTestPrivateKeyFunction · 0.64