MCPcopy Index your code
hub / github.com/docker/docker-agent / workdirRecordingBackend

Struct workdirRecordingBackend

cmd/root/run_worktree_order_test.go:25–28  ·  view source on GitHub ↗

workdirRecordingBackend records the working directory the flags carry at the moment LoadTeam is called. Toolsets capture that directory when they are built during LoadTeam, so this is exactly the value every tool (the shell included) would operate in.

Source from the content-addressed store, hash-verified

23// built during LoadTeam, so this is exactly the value every tool (the shell
24// included) would operate in.
25type workdirRecordingBackend struct {
26 flags *runExecFlags
27 workingDirSeen string
28}
29
30func (b *workdirRecordingBackend) LoadTeamRequest() runtime.LoadTeamRequest {
31 return runtime.LoadTeamRequest{RunConfig: &b.flags.runConfig}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected