Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
Index is a database of objects and their offset in a packfile. Objects are identified by their hash.
func NewFromIdx ¶
NewFromIdx returns a new index from an idx file reader.
func NewFromPackfile ¶
func NewFromPackfile(rs io.ReadSeeker) (Index, error)
NewFrompackfile returns a new index from a packfile reader.
func (Index) Get ¶
Get returns the offset that an object has the packfile.
Click to show internal directories.
Click to hide internal directories.