Documentation
¶
Index ¶
- Constants
- func GetWorkingDirectory() string
- func GitCheckoutBranch(path string, branch string) error
- func GitCreateBranchIfDoesNotExist(path string, branch string) error
- func GitCreateUpstreamIfDoesNotExist(path string, branch string) error
- func GitFetch(path string)
- func GitGetAllBranches(path string) []string
- func GitGetBranch(path string) string
- func GitIsCleanWorkingTree(path string) bool
- func GitIsValidBranchName(branch string) bool
- func GitPull(path string, branch string) error
- func GitPush(path string, branch string) error
- func Matches(str string, pattern string) bool
- func Print(message string)
- func ReadBranches() map[string][]string
- func ReadConfig() map[string][]string
- func WriteBranches(b map[string][]string) error
Constants ¶
View Source
const BRANCHES_FILE = "branches.json"
View Source
const CONFIG_DEFAULT_LOCATION = "/etc/gitawsm"
View Source
const CONFIG_FILE = "config.json"
Variables ¶
This section is empty.
Functions ¶
func GetWorkingDirectory ¶
func GetWorkingDirectory() string
func GitCheckoutBranch ¶
func GitGetAllBranches ¶
func GitGetBranch ¶
func GitIsCleanWorkingTree ¶
func GitIsValidBranchName ¶
func ReadBranches ¶
func ReadConfig ¶
func WriteBranches ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.