package
3.2.0+incompatible
Repository: https://github.com/flatfeestack/go-git.git
Documentation: pkg.go.dev

# Functions

NewDecoder returns a new decoder that reads from r.
NewEncoder returns a new encoder that writes to w.

# Constants

VersionSupported is the only idx version supported.

# Variables

ErrMalformedIdxFile is returned by Decode when the idx file is corrupted.
ErrUnsupportedVersion is returned by Decode when the idx file version is not supported.

# Structs

A Decoder reads and decodes idx files from an input stream.
An Encoder writes idx files to an output stream.
Entry
An Entry represents data about an object in the packfile: its hash, offset and CRC32 checksum.
An Idxfile represents an idx file in memory.