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

Method Tree

core/git.go:407–409  ·  view source on GitHub ↗
(ctx context.Context, srv *dagql.Server, discardGitDir bool, depth int, includeTags bool)

Source from the content-addressed store, hash-verified

405}
406
407func (ref *GitRef) Tree(ctx context.Context, srv *dagql.Server, discardGitDir bool, depth int, includeTags bool) (*Directory, error) {
408 return ref.Backend.Tree(ctx, srv, ref.Repo.Self().DiscardGitDir || discardGitDir, depth, includeTags)
409}
410
411// doGitCheckout performs a git checkout using the given git helper.
412//

Callers 1

contextMethod · 0.95

Calls 2

SelfMethod · 0.80
TreeMethod · 0.65

Tested by

no test coverage detected