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

Function WithDir

util/gitutil/cli.go:69–73  ·  view source on GitHub ↗

WithDir sets working directory. This should be a path to any directory within a standard git repository.

(dir string)

Source from the content-addressed store, hash-verified

67//
68// This should be a path to any directory within a standard git repository.
69func WithDir(dir string) Option {
70 return func(b *GitCLI) {
71 b.dir = dir
72 }
73}
74
75// WithWorkTree sets the --work-tree arg.
76//

Callers 4

refJoinFunction · 0.92
CleanedMethod · 0.92
mountMethod · 0.92
TreeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected