MCPcopy Create free account
hub / github.com/driusan/dgit / getPackedObject

Method getPackedObject

git/objects.go:211–223  ·  view source on GitHub ↗

Returns the byte array of a packed object from packfile, after resolving any deltas. (packfile should be the base name with no extension.)

(packfile File, sha1 Sha1, metaOnly bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getObjectMethod · 0.95

Calls 4

getObjectAtOffsetMethod · 0.80
StringMethod · 0.65
CloseMethod · 0.65
OpenMethod · 0.45

Tested by

no test coverage detected