Documentation
¶
Overview ¶
Package lazycommit mostly provides wrappers around go-git to make it easier for "lazy" usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LazyRepo ¶
type LazyRepo struct {
*git.Repository
// contains filtered or unexported fields
}
LazyRepo is a wrapper around go-git's Repository for simpler usage.
func (*LazyRepo) Commit ¶
Commit commits all changes in the repository.
It returns the commit hash and the commit message.
func (*LazyRepo) CommitMsg ¶
CommitMsg builds a commit message using the tracked files in the repository.
Click to show internal directories.
Click to hide internal directories.