package
4.0.0-rc9+incompatible
Repository: https://github.com/chrisdostert/go-git.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
DecodeCommit decodes an encoded object into a *Commit and associates it to the given object storer.
DecodeObject decodes an encoded object into an Object and associates it to the given object storer.
DecodeTag decodes an encoded object into a *Commit and associates it to the given object storer.
DecodeTree decodes an encoded object into a *Tree and associates it to the given object storer.
GetBlob gets a blob from an object storer and decodes it.
GetCommit gets a commit from an object storer and decodes it.
GetObject gets an object from an object storer and decodes it.
GetTag gets a tag from an object storer and decodes it.
GetTree gets a tree from an object storer and decodes it.
NewBlobIter returns a BlobIter for the given repository and underlying object iterator.
NewCommitIter returns a CommitIter for the given object storer and underlying object iterator.
NewFile returns a File based on the given blob object.
No description provided by the author
NewObjectIter returns a ObjectIter for the given repository and underlying object iterator.
NewTagIter returns a TagIter for the given object storer and underlying object iterator.
NewTreeIter returns a TreeIter for the given repository and underlying object iterator.
NewTreeWalker returns a new TreeWalker for the given tree.
ReverseSortCommits sorts a commit list by commit date, from newer to older.
SortCommits sorts a commit list by commit date, from older to newer.
WalkCommitHistory walks the commit history.
# Constants
DateFormat is the format being used in the original git implementation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
New errors defined by this package.
New errors defined by this package.
New errors defined by this package.
ErrUnsupportedObject trigger when a non-supported object is being decoded.
# Structs
Blob is used to store file data - it is generally a file.
BlobIter provides an iterator for a set of blobs.
Commit points to a single tree, marking it as what the project looked like at a certain point in time.
CommitIter provides an iterator for a set of commits.
File represents git file objects.
No description provided by the author
ObjectIter provides an iterator for a set of objects.
Signature represents an action signed by a person.
Tag represents an annotated tag object.
TagIter provides an iterator for a set of tags.
Tree is basically like a directory - it references a bunch of other trees and/or blobs (i.e.
TreeEntry represents a file.
TreeIter provides an iterator for a set of trees.
TreeWalker provides a means of walking through all of the entries in a Tree.
# Interfaces
Object is a generic representation of any git object.
# Type aliases
Hash represents the hash of an object.