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

Function IndexAndCopyPack

git/indexpack.go:925–927  ·  view source on GitHub ↗

Indexes the pack, and stores a copy in Client's .git/objects/pack directory as it's doing so. This is the equivalent of "git index-pack --stdin", but works with any reader.

(c *Client, opts IndexPackOptions, r io.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

IndexPackFunction · 0.92
fetchPackDoneFunction · 0.85

Calls 1

IndexPackFunction · 0.70

Tested by 2