Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParse = errors.New("failed to parse git ls-tree response")
ErrParse is returned when the parse of an entry was unsuccessful
Functions ¶
This section is empty.
Types ¶
type Entries ¶
type Entries []Entry
Entries holds every ls-tree Entry
type Entry ¶
type Entry struct { Mode []byte Type ObjectType Oid string Path string }
Entry represents a single ls-tree entry
type ObjectType ¶
type ObjectType int
ObjectType is an Enum for the type of object of the ls-tree entry, which can be can be tree, blob or commit
const ( Tree ObjectType = iota Blob Submodule )
Enum values for ObjectType
Click to show internal directories.
Click to hide internal directories.