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

Method Path

internal/workingdir/workingdir.go:56–62  ·  view source on GitHub ↗

String returns the string representation of the WorkingDir.

()

Source from the content-addressed store, hash-verified

54
55// String returns the string representation of the WorkingDir.
56func (m WorkingDir) Path() string {
57 // Instead of the zero value, use defaultWorkingDir.
58 if m.base == "" {
59 return defaultWorkingDirBase
60 }
61 return m.base
62}
63
64// Built is a file that is created in the workspace
65// when envbuilder has already been run. This is used

Callers 6

Test_WorkingDirFunction · 0.95
JoinMethod · 0.95
runFunction · 0.80
RunCacheProbeFunction · 0.80
maybeDeleteFilesystemFunction · 0.80
SetDefaultsMethod · 0.80

Calls

no outgoing calls

Tested by 1

Test_WorkingDirFunction · 0.76