MCPcopy Index your code
hub / github.com/aptly-dev/aptly / Decode

Method Decode

deb/local.go:78–81  ·  view source on GitHub ↗

Decode decodes msgpack representation into LocalRepo

(input []byte)

Source from the content-addressed store, hash-verified

76
77// Decode decodes msgpack representation into LocalRepo
78func (repo *LocalRepo) Decode(input []byte) error {
79 decoder := codec.NewDecoderBytes(input, &codec.MsgpackHandle{})
80 return decoder.Decode(repo)
81}
82
83// Key is a unique id in DB
84func (repo *LocalRepo) Key() []byte {

Callers 15

searchMethod · 0.95
ByUUIDMethod · 0.95
ForEachMethod · 0.95
TestEncodeDecodeMethod · 0.95
readArmoredFunction · 0.45
IsClearSignedMethod · 0.45
VerifyClearsignedMethod · 0.45
ExtractClearsignedMethod · 0.45
LoadConfigFunction · 0.45
NewUploadersFromFileFunction · 0.45
BenchmarkReflistDecodeFunction · 0.45
GetMethod · 0.45

Calls

no outgoing calls

Tested by 5

TestEncodeDecodeMethod · 0.76
BenchmarkReflistDecodeFunction · 0.36
locationConstraintFunction · 0.36