Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommittedChanges = StatusMessage{output.WarnColor, "Changes to push"}
View Source
var NoChanges = StatusMessage{output.SuccessColor, "Up to date"}
View Source
var NotVersioned = StatusMessage{output.ErrorColor, "Not versioned"}
View Source
var RemoteChanges = StatusMessage{output.WarnColor, "Changes to pull"}
View Source
var UncommittedChanges = StatusMessage{output.WarnColor, "Changes to commit"}
View Source
var UntrackedChanges = StatusMessage{output.WarnColor, "Untracked changes"}
Functions ¶
This section is empty.
Types ¶
type Branch ¶
func (Branch) ExecDelete ¶
func (b Branch) ExecDelete(path string, branch LocalBranchName) error
func (Branch) ExecRemote ¶
func (b Branch) ExecRemote(path string) ([]RemoteBranchName, error)
type Fetch ¶
func (Fetch) ExecWithPurge ¶
type FileStatus ¶
type LocalBranch ¶
type LocalBranch struct { LocalBranchName LocalBranchName RemoteBranchName RemoteBranchName CurrentBranch bool }
type LocalBranchName ¶
type LocalBranchName string
type RemoteBranchName ¶
type RemoteBranchName string
type RepositoryRemote ¶
type RepositoryStatus ¶
type RepositoryStatus struct { Versioned bool VersionNumber string LocalBranch string RemoteBranch string LocalStatus StatusMessage RemoteStatus StatusMessage CommitsAhead int CommitsBehind int Staged int Unstaged int Untracked int Ignored int FilesStatus []FileStatus }
type StatusMessage ¶
Click to show internal directories.
Click to hide internal directories.