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

Method Generation

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

Generation returns the generation of the commit for reachability analysis. Objects with newer generation are not reachable from objects of older generation.

()

Source from the content-addressed store, hash-verified

29 // Generation returns the generation of the commit for reachability analysis.
30 // Objects with newer generation are not reachable from objects of older generation.
31 Generation() uint64
32 // GenerationV2 stores the corrected commit date for the commits
33 // It combines the contents of the GDA2 and GDO2 sections of the commit-graph
34 // with the commit time portion of the CDAT section.

Callers 2

NextMethod · 0.95

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected