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

Method Encode

plumbing/object/object.go:47–47  ·  view source on GitHub ↗
(plumbing.EncodedObject)

Source from the content-addressed store, hash-verified

45 Type() plumbing.ObjectType
46 Decode(plumbing.EncodedObject) error
47 Encode(plumbing.EncodedObject) error
48}
49
50// GetObject gets an object from an object storer and decodes it.

Callers 15

TestCreateTagSignedMethod · 0.65
buildTagSignatureMethod · 0.65
SignMethod · 0.65
TestCommitSignMethod · 0.65
EncodeMethod · 0.65
testUlReqEncodeFunction · 0.65
testUlReqEncodeErrorFunction · 0.65
testEncodeMethod · 0.65
TestEncodeNAKMethod · 0.65
TestEncodeDepthMethod · 0.65

Calls

no outgoing calls

Tested by 15

TestCreateTagSignedMethod · 0.52
SignMethod · 0.52
TestCommitSignMethod · 0.52
testUlReqEncodeFunction · 0.52
testUlReqEncodeErrorFunction · 0.52
testEncodeMethod · 0.52
TestEncodeNAKMethod · 0.52
TestEncodeDepthMethod · 0.52
TestEncodeMultiACKMethod · 0.52
testEncodeOkMethod · 0.52
testEncodeFunction · 0.52