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

Function invalidSignature

worktree_commit_test.go:699–706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

697}
698
699func invalidSignature() *object.Signature {
700 when, _ := time.Parse(object.DateFormat, "Thu May 04 00:03:43 2017 +0200")
701 return &object.Signature{
702 Name: "foo <bad>\n",
703 Email: "<bad>\nfoo@foo.foo",
704 When: when,
705 }
706}
707
708func commitSignKey(c *C, decrypt bool) *openpgp.Entity {
709 s := strings.NewReader(armoredKeyRing)

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…