Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
Commit structure (Check https://git-scm.com/docs/pretty-formats)
func (*Commit) FullCommitMessage ¶
FullCommitMessage gets full commit message
type CommitIterator ¶
type CommitIterator struct {
// contains filtered or unexported fields
}
CommitIterator provides interator to run through available commits
func GetCommitIterator ¶
func GetCommitIterator() *CommitIterator
GetCommitIterator gets a new log iterator
func (*CommitIterator) Next ¶
func (ci *CommitIterator) Next() *Commit
Next returns item in the log iterator
func (*CommitIterator) PrintAll ¶
func (ci *CommitIterator) PrintAll()
PrintAll prints all commit messages
func (*CommitIterator) Push ¶
func (ci *CommitIterator) Push(commit Commit)
Push adds a new item to LogIterator
func (*CommitIterator) Reset ¶
func (ci *CommitIterator) Reset()
Reset resets the iterator to point to beginning
func (*CommitIterator) Size ¶
func (ci *CommitIterator) Size() int
Size returns the number of log items in the iterator
type LogOptions ¶
LogOptions helps user to specify structure of log Message
Click to show internal directories.
Click to hide internal directories.