Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrGitMissing is raised if git is not detected on the current $PATH ErrGitMissing = errors.New("git is not currently installed under $PATH") // ErrNoRepository is raised if the current directory is not a recognised git repository ErrNoRepository = errors.New("current working directory is not a git repository") )
Functions ¶
This section is empty.
Types ¶
type ErrDetachedHead ¶
type ErrDetachedHead struct{}
ErrDetachedHead is raised if the git repository is in a detached state, which prevents some of the functionality of uplift from working correctly
func (ErrDetachedHead) Error ¶
func (e ErrDetachedHead) Error() string
Error returns a formatted message of the current error
type ErrDirty ¶
type ErrDirty struct {
// contains filtered or unexported fields
}
ErrDirty is raised when a git repository has un-committed and/or un-staged changes
type ErrShallowClone ¶
type ErrShallowClone struct{}
ErrShallowClone is raised if the git repository is from a shallow clone, which prevents some of the functionality of uplift from working correctly
func (ErrShallowClone) Error ¶
func (e ErrShallowClone) Error() string
Error returns a formatted message of the current error
Click to show internal directories.
Click to hide internal directories.