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

Function fetchObject

fetch.go:19–21  ·  view source on GitHub ↗

"fetch $sha1 $ref" method 1 - unpacking loose objects - look for it in ".git/objects/substr($sha1, 0, 2)/substr($sha, 2)" - if found, download it and put it in place. (there may be a command for this) - done \o/

(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

recurseCommitFunction · 0.85

Tested by

no test coverage detected