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

Function defaultSignature

worktree_commit_test.go:534–541  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

532}
533
534func defaultSignature() *object.Signature {
535 when, _ := time.Parse(object.DateFormat, "Thu May 04 00:03:43 2017 +0200")
536 return &object.Signature{
537 Name: "foo",
538 Email: "foo@foo.foo",
539 When: when,
540 }
541}
542
543func commitSignKey(c *C, decrypt bool) *openpgp.Entity {
544 s := strings.NewReader(armoredKeyRing)

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected