Method
Tree
(ctx context.Context, srv *dagql.Server, discardGitDir bool, depth int, includeTags bool)
Source from the content-addressed store, hash-verified
| 405 | } |
| 406 | |
| 407 | func (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 | // |
Tested by
no test coverage detected