MCPcopy
hub / github.com/go-git/go-git / defaultSignature

Function defaultSignature

worktree_commit_test.go:690–697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

688}
689
690func defaultSignature() *object.Signature {
691 when, _ := time.Parse(object.DateFormat, "Thu May 04 00:03:43 2017 +0200")
692 return &object.Signature{
693 Name: "foo",
694 Email: "foo@foo.foo",
695 When: when,
696 }
697}
698
699func invalidSignature() *object.Signature {
700 when, _ := time.Parse(object.DateFormat, "Thu May 04 00:03:43 2017 +0200")

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…