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

Method ReadHeaderSize

git/packfile.go:56–123  ·  view source on GitHub ↗

Readers a packfile entry header from r, and returns the type of packfile, the size from the header, optionally a reference or file offset (for deltas only), and any data read from the io stream.

(r flate.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

iteratePackFunction · 0.95
getObjectAtOffsetMethod · 0.95

Calls 5

PackEntryTypeTypeAlias · 0.85
PackEntrySizeTypeAlias · 0.85
ReadDeltaOffsetFunction · 0.85
ObjectOffsetTypeAlias · 0.85
ReadByteMethod · 0.45

Tested by

no test coverage detected