Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Commit ¶
type Commit struct {
Tree string // SHA-1 hash of the tree object
Parent string // SHA-1 hash of the parent commit (empty for initial commit)
Author string // Author name and email
AuthorDate time.Time // Author timestamp
Committer string // Committer name and email
CommitDate time.Time // Commit timestamp
Message string // Commit message
}
Commit represents a Git commit object.
type Tree ¶
type Tree struct {
Entries []TreeEntry
}
Tree represents a Git tree object (directory listing).
Click to show internal directories.
Click to hide internal directories.