Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2026 Changes in this version + type RepoStatus struct + StagedFiles []string + UnstagedFiles []string + UntrackedFiles []string + type ShellExecutor struct + WorkDir string + func NewShellExecutor(workDir string) *ShellExecutor + func (e *ShellExecutor) ApplyPatch(ctx context.Context, patch io.Reader) error + func (e *ShellExecutor) Commit(ctx context.Context, message string) error + func (e *ShellExecutor) Diff(ctx context.Context, paths ...string) (string, error) + func (e *ShellExecutor) DiffCached(ctx context.Context, paths ...string) (string, error) + func (e *ShellExecutor) Reset(ctx context.Context) error + func (e *ShellExecutor) ResetPaths(ctx context.Context, paths ...string) error + func (e *ShellExecutor) Status(ctx context.Context) (*RepoStatus, error)