package
4.0.0-rc3+incompatible
Repository: https://github.com/kampsy/go-git.git
Documentation: pkg.go.dev
# Functions
NewDecoder returns a new decoder that reads from r.
NewEncoder returns a new encoder that writes to w.
# Constants
AncestorMode is the base revision.
Merged is the default stage, fully merged.
OurMode is the first tree revision, ours.
TheirMode is the second tree revision, theirs.
# Variables
DecodeVersionSupported is the range of supported index versions.
EncodeVersionSupported is the range of supported index versions.
ErrInvalidChecksum is returned by Decode if the SHA1 hash missmatch with the read content.
ErrInvalidTimestamp is returned by Encode if a Index with a Entry with negative timestamp values.
ErrMalformedSignature is returned by Decode when the index header file is malformed.
ErrUnsupportedVersion is returned by Decode when the idxindex file version is not supported.
# Structs
A Decoder reads and decodes idx files from an input stream.
An Encoder writes an Index to an output stream.
Entry represents a single file (or stage of a file) in the cache.
Index contains the information about which objects are currently checked out in the worktree, having information about the working files.
ResolveUndo when a conflict is resolved (e.g.
ResolveUndoEntry contains the information about a conflict when is resolved.
Tree contains pre-computed hashes for trees that can be derived from the index.
TreeEntry entry of a cached Tree.
# Type aliases
Stage during merge.