Documentation
¶
Index ¶
- func Branches() []string
- func BranchesByPattern(pattern string) []string
- func CommitHash(branch string) string
- func CommitTimestamp(hash string) time.Time
- func DeleteBranches(branches []interface{}, force bool, dryRun bool)
- func SetGitExecutable(gitExecutablePath string)
- func SwitchToDefault(mainBranch string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BranchesByPattern ¶
BranchesByPattern get branches by pattern
func CommitTimestamp ¶
CommitTimestamp Get Timestamp of commit
func DeleteBranches ¶
DeleteBranches Delete brances
func SetGitExecutable ¶
func SetGitExecutable(gitExecutablePath string)
SetGitExecutable Set executable git path.
func SwitchToDefault ¶
func SwitchToDefault(mainBranch string)
SwitchToDefault Switch to default branch
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.