MCPcopy Index your code
hub / github.com/OpenListTeam/OpenList / addCommitterAndAuthor

Method addCommitterAndAuthor

drivers/github/driver.go:960–975  ·  view source on GitHub ↗
(m *map[string]interface{})

Source from the content-addressed store, hash-verified

958}
959
960func (d *Github) addCommitterAndAuthor(m *map[string]interface{}) {
961 if d.CommitterName != "" {
962 committer := map[string]string{
963 "name": d.CommitterName,
964 "email": d.CommitterEmail,
965 }
966 (*m)["committer"] = committer
967 }
968 if d.AuthorName != "" {
969 author := map[string]string{
970 "name": d.AuthorName,
971 "email": d.AuthorEmail,
972 }
973 (*m)["author"] = author
974 }
975}

Callers 1

commitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected