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

Function NewGitCLI

util/gitutil/cli.go:183–189  ·  view source on GitHub ↗

New initializes a new git client

(opts ...Option)

Source from the content-addressed store, hash-verified

181
182// New initializes a new git client
183func NewGitCLI(opts ...Option) *GitCLI {
184 c := &GitCLI{}
185 for _, opt := range opts {
186 opt(c)
187 }
188 return c
189}
190
191// New returns a new git client with the same config as the current one, but
192// with the given options applied on top.

Callers 6

refJoinFunction · 0.92
RemoteMethod · 0.92
CleanedMethod · 0.92
mountMethod · 0.92
setupMethod · 0.92
initRemoteMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected