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

Method SetRootfs

core/workspace.go:44–46  ·  view source on GitHub ↗

SetRootfs sets the pre-fetched root filesystem (used by remote workspace setup).

(r dagql.ObjectResult[*Directory])

Source from the content-addressed store, hash-verified

42
43// SetRootfs sets the pre-fetched root filesystem (used by remote workspace setup).
44func (ws *Workspace) SetRootfs(r dagql.ObjectResult[*Directory]) {
45 ws.rootfs = r
46}
47
48// HostPath returns the internal host filesystem path for the workspace boundary.
49// Returns empty string for remote workspaces (read-only).

Callers 1

buildCoreWorkspaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected