Documentation ¶
Index ¶
- type FileReader
- type GitChanges
- func (changes GitChanges) ConflictedFilesCount() int
- func (changes GitChanges) HasChanges() bool
- func (changes GitChanges) Init(repo *git.Repository) (*GitChanges, error)
- func (changes GitChanges) ModifiedFilesCount() int
- func (changes GitChanges) StagedFilesCount() int
- func (changes GitChanges) UntrackedFilesCount() int
- type GitHead
- type GitStatus
- type RepoState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReader struct{}
func (FileReader) ReadFirstLine ¶
func (reader FileReader) ReadFirstLine(path string) (string, error)
type GitChanges ¶
type GitChanges struct {
// contains filtered or unexported fields
}
func (GitChanges) ConflictedFilesCount ¶
func (changes GitChanges) ConflictedFilesCount() int
func (GitChanges) HasChanges ¶
func (changes GitChanges) HasChanges() bool
func (GitChanges) Init ¶
func (changes GitChanges) Init(repo *git.Repository) (*GitChanges, error)
func (GitChanges) ModifiedFilesCount ¶
func (changes GitChanges) ModifiedFilesCount() int
func (GitChanges) StagedFilesCount ¶
func (changes GitChanges) StagedFilesCount() int
func (GitChanges) UntrackedFilesCount ¶
func (changes GitChanges) UntrackedFilesCount() int
type GitHead ¶
type GitHead struct {
// contains filtered or unexported fields
}
func (GitHead) IsDetached ¶
type GitStatus ¶
type GitStatus struct {
// contains filtered or unexported fields
}
func (GitStatus) IsApplicable ¶
type RepoState ¶
type RepoState git.RepositoryState
func (RepoState) IsBisecting ¶
func (RepoState) IsCherrypicking ¶
func (RepoState) IsRebasing ¶
func (RepoState) IsReverting ¶
Click to show internal directories.
Click to hide internal directories.