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

Function encodeWithoutSignature

tests/objectverify/main_test.go:130–135  ·  view source on GitHub ↗
(t *testing.T, c *object.Commit)

Source from the content-addressed store, hash-verified

128}
129
130func encodeWithoutSignature(t *testing.T, c *object.Commit) []byte {
131 t.Helper()
132 out := &plumbing.MemoryObject{}
133 require.NoError(t, c.EncodeWithoutSignature(out))
134 return readMemoryObject(t, out)
135}
136
137func encodeTagWithoutSignature(t *testing.T, tag *object.Tag) []byte {
138 t.Helper()

Callers 1

Calls 2

readMemoryObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…