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

Method GenerationV2

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

GenerationV2 stores the corrected commit date for the commits It combines the contents of the GDA2 and GDO2 sections of the commit-graph with the commit time portion of the CDAT section.

()

Source from the content-addressed store, hash-verified

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.
35 GenerationV2() uint64
36 // Commit returns the full commit object from the node
37 Commit() (*object.Commit, error)
38}

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