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

Function unpackObject

gitfs/pack.go:68–184  ·  view source on GitHub ↗

unpackObject unpacks the object at objs[off:] and writes it to the store s. It returns the type, hash, and content of the object, as well as the encoded size, meaning the number of bytes at the start of objs[off:] that this record occupies.

(s *store, objs []byte, off int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

unpackFunction · 0.85

Calls 7

objTypeTypeAlias · 0.85
intFunction · 0.85
applyDeltaFunction · 0.85
objectMethod · 0.80
copyFunction · 0.50
LenMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…