MCPcopy
hub / github.com/go-git/go-git / Tree

Method Tree

plumbing/object/commitgraph/commitnode.go:18–18  ·  view source on GitHub ↗

Tree returns the Tree referenced by the commit graph node.

()

Source from the content-addressed store, hash-verified

16 ID() plumbing.Hash
17 // Tree returns the Tree referenced by the commit graph node.
18 Tree() (*object.Tree, error)
19 // CommitTime returns the Committer.When time of the Commit referenced by the commit graph node.
20 CommitTime() time.Time
21 // NumParents returns the number of parents in a commit.

Callers 15

TestCommitMethod · 0.65
getTreeFromCommitHashMethod · 0.65
diffCommitWithStagingMethod · 0.65
mainFunction · 0.65
getCommitTreeFunction · 0.65
mainFunction · 0.65
reachableObjectsFunction · 0.65
getNextFileCommitMethod · 0.65
TestIterMethod · 0.65
TestFileIterMethod · 0.65

Implementers 2

graphCommitNodeplumbing/object/commitgraph/commitnode
objectCommitNodeplumbing/object/commitgraph/commitnode

Calls

no outgoing calls

Tested by 15

TestCommitMethod · 0.52
TestIterMethod · 0.52
TestFileIterMethod · 0.52
TestFileIterSubmoduleMethod · 0.52
TestDiffTreeMethod · 0.52
TestTreeMethod · 0.52
TestTreeErrorMethod · 0.52
TestTreeMethod · 0.52
TestTreeFromCommitMethod · 0.52
TestTreeMethod · 0.52