Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Commit ¶
type Commit struct { Tree Sha1 Parents []Sha1 Author commitUser Committor commitUser CommitMessage string }
func (*Commit) SetCommittor ¶
type ContentType ¶
type ContentType string
const ( ContentType_Blob ContentType = "blob" ContentType_Commit ContentType = "commit" ContentType_Tree ContentType = "tree" )
type Object ¶
type Sha1 ¶
type Sha1 [sha1Length]byte
func (Sha1) MarshalText ¶
func (*Sha1) UnmarshalString ¶
func (*Sha1) UnmarshalText ¶
type Tree ¶
type Tree struct {
Entries []*TreeEntry
}
func (*Tree) AddOrReplace ¶
AddOrReplace will replace an entry if the name already exists, or add it to tree if the name doesn't exist.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.