package
4.0.0-rc9+incompatible
Repository: https://github.com/chrisdostert/go-git.git
Documentation: pkg.go.dev

# Functions

ForEachIterator is a helper function to build iterators without need to rewrite the same ForEach function each time.
NewEncodedObjectLookupIter returns an object iterator given an object storage and a slice of object hashes.
NewEncodedObjectSliceIter returns an object iterator for the given slice of objects.
NewMultiEncodedObjectIter returns an object iterator for the given slice of objects.
NewReferenceSliceIter returns a reference iterator for the given slice of objects.
ResolveReference resolve a SymbolicReference to a HashReference.

# Constants

No description provided by the author

# Variables

ErrMaxResolveRecursion is returned by ResolveReference is MaxResolveRecursion is exceeded.
ErrStop is used to stop a ForEach function in an Iter.

# Structs

EncodedObjectLookupIter implements EncodedObjectIter.
EncodedObjectSliceIter implements EncodedObjectIter.
MultiEncodedObjectIter implements EncodedObjectIter.
ReferenceSliceIter implements ReferenceIter.

# Interfaces

EncodedObjectIter is a generic closable interface for iterating over objects.
EncodedObjectStorer generic storage of objects.
IndexStorer generic storage of index.Index.
PackfileWriter is a optional method for ObjectStorer, it enable direct write of packfile to the storage.
ReferenceIter is a generic closable interface for iterating over references.
ReferenceStorer generic storage of references.
ShallowStorer storage of references to shallow commits by hash, meaning that these commits have missing parents because of a shallow fetch.
Storer is a basic storer for encoded objects and references.
Transaction is an in-progress storage transaction.
Transactioner is a optional method for ObjectStorer, it enable transaction base write and read operations in the storage.