package
2.3.4+incompatible
Repository: https://github.com/mkungla/git-lfs.git
Documentation: pkg.go.dev

# Functions

DecodeIndex decodes an index whose underlying data is supplied by "r".
DecodePackfile opens the packfile given by the io.ReaderAt "r" for reading.
IsNotFound returns whether a given error represents a missing object in the index.
NewSet creates a new *Set of all packfiles found in a given object database's root (i.e., "/path/to/repo/.git/objects").
NewSetPacks creates a new *Set from the given packfiles.

# Constants

Typeblob is the PackedObjectType for blob objects.
TypeCommit is the PackedObjectType for commit objects.
TypeNone is the zero-value for PackedObjectType, and represents the absence of a type.
TypeObjectOffsetDelta is the type for OBJ_OFS_DELTA-typed objects.
TypeObjectReferenceDelta is the type for OBJ_REF_DELTA-typed objects.
TypeTag is the PackedObjectType for tag objects.
TypeTree is the PackedObjectType for tree objects.

# Variables

ErrShortFanout is an error representing situations where the entire fanout table could not be read, and is thus too short.

# Structs

ChainBase represents the "base" component of a delta-base chain.
ChainDelta represents a "delta" component of a delta-base chain.
Index stores information about the location of objects in a corresponding packfile.
IndexEntry specifies data encoded into an entry in the pack index.
Object is an encapsulation of an object found in a packfile, or a packed object.
OffsetReaderAt transforms an io.ReaderAt into an io.Reader by beginning and advancing all reads at the given offset.
Packfile encapsulates the behavior of accessing an unpacked representation of all of the objects encoded in a single packfile.
Set allows access of objects stored across a set of packfiles.
UnsupportedVersionErr is a type implementing 'error' which indicates a the presence of an unsupported packfile version.
V1 implements IndexVersion for v1 packfiles.
V2 implements IndexVersion for v2 packfiles.

# Interfaces

Chain represents an element in the delta-base chain corresponding to a packed object.
IndexVersion is a constant type that represents the version of encoding used by a particular index version.

# Type aliases

PackedObjectType is a constant type that is defined for all valid object types that a packed object can represent.