Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // General use for Invalid type. ErrInvalidType = errors.New("Invalid Git Operation Type") ErrInvalidInterface = errors.New("Invalid Plugin does not implement GitPath") )
Functions ¶
Types ¶
type GitPath ¶
type GitPath interface {
// returns a copy of itself with the correct settings
New(optype string, regex string, reference string) (GitPath, error)
// Returns if the refrences match
Match() bool
// returns the reference title like "master".
Title() string
}
GitPath is the interface a git path plugin needs to implement
Click to show internal directories.
Click to hide internal directories.