Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2026 Changes in this version + func AppendIgnoreEntry(path, entry string) error + func CheckIgnore(workdir, path string) (bool, error) + func CommitExists(repo, rev string) (bool, error) + func GlobalExcludesPath() (string, error) + func Init(dir string) error + func ListTrackedUnder(workdir, relPath string) ([]string, error) + func MergeFile(project, base, central []byte) ([]byte, bool, error) + func RepoExcludePath(workdir string) (string, error) + func RepoToplevel(workdir string) (string, error) + func Run(workdir string, args ...string) (string, error) + func StatusRaw(repo string, paths ...string) ([]byte, error) + type Result struct + ExitCode int + Stderr []byte + Stdout []byte + func RunRaw(workdir string, args ...string) (Result, error) + type TreeEntry struct + Data []byte + Mode string + ObjectID string + ObjectType string + Path string + func ReadTree(repo, rev, prefix string) ([]TreeEntry, error)