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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package object contains implementations of all Git objects and utility functions to work with them.
No description provided by the author
Package revlist provides support to access the ancestors of commits, in a similar way as the git-rev-list command.
Package storer defines the interfaces to store objects, references, etc.
Package transport includes the implementation for different transport protocols.

# Functions

ComputeHash compute the hash for a given ObjectType and content.
HashesSort sorts a slice of Hashes in increasing order.
NewHash return a new Hash from a hexadecimal hash representation.
No description provided by the author
NewHashReference creates a new HashReference reference.
No description provided by the author
NewReferenceFromStrings creates a reference from name and target as string, the resulting reference can be a SymbolicReference or a HashReference base on the target provided.
NewSymbolicReference creates a new SymbolicReference reference.
No description provided by the author
ParseObjectType parses a string representation of ObjectType.

# Constants

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
No description provided by the author
No description provided by the author
No description provided by the author
5 reserved for future expansion.
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

ErrInvalidType is returned when an invalid object type is provided.
No description provided by the author
No description provided by the author
RefRevParseRules are a set of rules to parse references into short names.
ZeroHash is Hash with value zero.

# Structs

No description provided by the author
MemoryObject on memory Object implementation.
No description provided by the author
Reference is a representation of git reference.
No description provided by the author

# Interfaces

DeltaObject is an EncodedObject representing a delta.
Object is a generic representation of any git object.

# Type aliases

Hash SHA1 hased content.
HashSlice attaches the methods of sort.Interface to []Hash, sorting in increasing order.
ObjectType internal object type Integer values from 0 to 7 map to those exposed by git.
ReferenceName reference name's.
ReferenceType reference type's.
Revision represents a git revision to get more details about git revisions please check git manual page : https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html.