MCPcopy Create free account
hub / github.com/cryptix/git-remote-ipfs / fetchPackedObject

Function fetchPackedObject

fetch.go:104–158  ·  view source on GitHub ↗

"fetch $sha1 $ref" method 2 - unpacking packed objects - look for it in packfiles by fetching ".git/objects/pack/*.idx" and looking at each idx with cat | git show-index (alternatively can learn to read the format in go) - if found in an , download the relevant .pack file, and feed it in

(sha1 string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

speakGitFunction · 0.85

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected