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

Method String

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

Source from the content-addressed store, hash-verified

132}
133
134func (c *graphCommitNode) String() string {
135 return fmt.Sprintf(
136 "%s %s\nDate: %s",
137 plumbing.CommitObject, c.ID(),
138 c.CommitTime().Format(object.DateFormat),
139 )
140}

Callers

nothing calls this directly

Calls 2

IDMethod · 0.95
CommitTimeMethod · 0.95

Tested by

no test coverage detected