Documentation
¶
Overview ¶
functions copied from https://github.com/xhd2015/gitops
Index ¶
- Constants
- func FetchRef(dir string, origin string, ref string) error
- func GetCurrentBranch(dir string) (string, error)
- func GetGitDir(dir string) (string, error)
- func ListFileUpdates(dir string, ref string, compareRef string, patterns []string) ([]string, error)
- func ListModifiedFiles(dir string, ref string, compareRef string, patterns []string) ([]string, error)
- func ShowTopLevel(dir string) (string, error)
Constants ¶
View Source
const COMMIT_WORKING = "WORKING"
Variables ¶
This section is empty.
Functions ¶
func GetCurrentBranch ¶ added in v1.0.36
func ListFileUpdates ¶ added in v1.1.1
func ListFileUpdates(dir string, ref string, compareRef string, patterns []string) ([]string, error)
ListFileUpdates lists all updated files in the given directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.