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

Method Generation

plumbing/object/commitgraph/commitnode_graph.go:116–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116func (c *graphCommitNode) Generation() uint64 {
117 // If the commit-graph file was generated with older Git version that
118 // set the generation to zero for every commit the generation assumption
119 // is still valid. It is just less useful.
120 return c.commitData.Generation
121}
122
123func (c *graphCommitNode) GenerationV2() uint64 {
124 // If the commit-graph file was generated with older Git version that

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected