MCPcopy Index your code
hub / github.com/dagger/dagger / legacyCallerModuleDir

Function legacyCallerModuleDir

engine/server/session_workspaces.go:428–433  ·  view source on GitHub ↗
(isLocal bool, moduleDir string)

Source from the content-addressed store, hash-verified

426}
427
428func legacyCallerModuleDir(isLocal bool, moduleDir string) string {
429 if !isLocal || moduleDir == "" {
430 return ""
431 }
432 return moduleDir
433}
434
435// detectAndLoadWorkspaceWithRootfs is the unified core of workspace detection
436// and module gathering. It detects the current workspace root, applies legacy

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected