MCPcopy Index your code
hub / github.com/sinclairtarget/git-who / String

Method String

internal/git/git.go:41–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (c Commit) String() string {
42 return fmt.Sprintf(
43 "{ hash:%s author:%s <%s> date:%s merge:%v }",
44 c.Name(),
45 c.AuthorName,
46 c.AuthorEmail,
47 c.Date.Format("Jan 2, 2006"),
48 c.IsMerge,
49 )
50}
51
52// A file that was changed in a Commit.
53type FileDiff struct {

Callers 4

addFilterFlagsFunction · 0.45
ToArgsMethod · 0.45
toLinesFunction · 0.45
writeTableFunction · 0.45

Calls 1

NameMethod · 0.95

Tested by

no test coverage detected