MCPcopy Index your code
hub / github.com/go-git/go-git / Stats

Method Stats

plumbing/object/commit.go:447–449  ·  view source on GitHub ↗

Stats returns the stats of a commit.

()

Source from the content-addressed store, hash-verified

445
446// Stats returns the stats of a commit.
447func (c *Commit) Stats() (FileStats, error) {
448 return c.StatsContext(context.Background())
449}
450
451// StatsContext returns the stats of a commit. Error will be return if context
452// expires. Provided context must be non-nil.

Callers

nothing calls this directly

Calls 1

StatsContextMethod · 0.95

Tested by

no test coverage detected