pub async fn worktree_status(repo_path: PathBuf) -> Result<String, GitError>Expand description
Re-exported commit/sync/diff APIs. Returns a stable porcelain status snapshot for a repository or worktree.
The snapshot includes untracked files so cleanup and review workflows can detect all local filesystem changes in the worktree.
§Arguments
repo_path- Path to the git repository or worktree
§Returns
Raw git status --porcelain=v1 --untracked-files=all stdout.
§Errors
Returns a GitError if the status command cannot be executed.