Versions in this module Expand all Collapse all v0 v0.1.1 Oct 27, 2026 v0.1.0 Oct 27, 2026 Changes in this version + type CommitEntry struct + Hash string + Message string + type FileStatus struct + Code string + Path string + Staged bool + Unstaged bool + type GitClient struct + Root string + func New(root string) *GitClient + func (g *GitClient) Commit(msg string) error + func (g *GitClient) Diff(path string) (string, error) + func (g *GitClient) Log(base string) ([]CommitEntry, error) + func (g *GitClient) RemoteURL(name string) (string, error) + func (g *GitClient) ResetFile(path string) error + func (g *GitClient) Stage(path string) error + func (g *GitClient) StagedDiff(path string) (string, error) + func (g *GitClient) Status() ([]FileStatus, error) + func (g *GitClient) Unstage(path string) error