MCPcopy Create free account
hub / github.com/rsc/tmp / Decode

Function Decode

git85/git.go:98–142  ·  view source on GitHub ↗

Decode decodes src into at most MaxDecodedLen(len(src)) bytes, returning the actual number of bytes written to dst. If Decode encounters invalid input, it returns a CorruptInputError.

(dst, src []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ReadMethod · 0.70
TestDecodeFunction · 0.70
TestDecodeCorruptFunction · 0.70

Calls 2

intFunction · 0.85
CorruptInputErrorTypeAlias · 0.85

Tested by 2

TestDecodeFunction · 0.56
TestDecodeCorruptFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…