MCPcopy Create free account
hub / github.com/go-git/go-git / Generation

Method Generation

plumbing/object/commitgraph/commitnode_object.go:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func (c *objectCommitNode) Generation() uint64 {
82 // Commit nodes representing objects outside of the commit graph can never
83 // be reached by objects from the commit-graph thus we return the highest
84 // possible value.
85 return math.MaxUint64
86}
87
88func (c *objectCommitNode) GenerationV2() uint64 {
89 // Commit nodes representing objects outside of the commit graph can never

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected