Documentation ¶ Index ¶ func Commit(path string, status git.Status, worktree git.Worktree) ([]string, []string, error) func GitDiff(path, filename string) (string, error) func GitOpen(g *Git) error func GitOps(c *configuration.Config) error func GitStatus(worktree git.Worktree) (git.Status, bool, error) type Git Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Commit ¶ func Commit(path string, status git.Status, worktree git.Worktree) ([]string, []string, error) Commit will add and commit changes func GitDiff ¶ func GitDiff(path, filename string) (string, error) GitDiff returns a diff. func GitOpen ¶ func GitOpen(g *Git) error GitOpen opens or initializes the repository func GitOps ¶ func GitOps(c *configuration.Config) error GitOps does stuff with git func GitStatus ¶ func GitStatus(worktree git.Worktree) (git.Status, bool, error) GitStatus reports the current working tree status Types ¶ type Git ¶ type Git struct { Repo *git.Repository Path string // contains filtered or unexported fields } Git holds git repo data Source Files ¶ View all Source files commit.godiff.gogit.goopen.gostatus.go Click to show internal directories. Click to hide internal directories.