Documentation
¶
Index ¶
- type Commit
- type File
- type Files
- type GitHelper
- func (h *GitHelper) Add(name string) error
- func (h *GitHelper) Commit() error
- func (h *GitHelper) Commits() (GitHistory, error)
- func (h *GitHelper) Head() (string, error)
- func (h *GitHelper) Init() error
- func (h *GitHelper) InitRepositoryWithFiles(f Files) error
- func (h *GitHelper) IsWorkingTreeClean() (bool, error)
- func (h *GitHelper) WithCommits() error
- type GitHistory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHelper ¶
type GitHelper struct {
// contains filtered or unexported fields
}
func NewGitHelper ¶
func (*GitHelper) Commits ¶
func (h *GitHelper) Commits() (GitHistory, error)
func (*GitHelper) InitRepositoryWithFiles ¶
func (*GitHelper) IsWorkingTreeClean ¶
func (*GitHelper) WithCommits ¶
type GitHistory ¶
type GitHistory []Commit
Click to show internal directories.
Click to hide internal directories.