MCPcopy Create free account
hub / github.com/dagger/dagger / HostPath

Method HostPath

core/workspace.go:50–52  ·  view source on GitHub ↗

HostPath returns the internal host filesystem path for the workspace boundary. Returns empty string for remote workspaces (read-only).

()

Source from the content-addressed store, hash-verified

48// HostPath returns the internal host filesystem path for the workspace boundary.
49// Returns empty string for remote workspaces (read-only).
50func (ws *Workspace) HostPath() string {
51 return ws.hostPath
52}
53
54// SetHostPath sets the internal host filesystem path.
55func (ws *Workspace) SetHostPath(p string) {

Callers 6

resolveRootfsMethod · 0.80
updateMethod · 0.80
findUpMethod · 0.80
lockHostPathFunction · 0.80
workspaceLockPathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected