package
4.0.0-rc9+incompatible
Repository: https://github.com/chrisdostert/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
No description provided by the author
Package revlist implements functions to walk the objects referenced by a commit history.
No description provided by the author
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
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
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.