Skip to main content

Module git

Module git 

Source
Expand description

git2-backed introspection helpers.

Structs§

RepoStatus
Per-repository status snapshot produced by inspect. Field order is the documented JSON serialization order.

Enums§

RepoState
Coarse classification of a registered repository’s runtime state. Drives the state column in TTY output and the state field in the JSON envelope.

Functions§

inspect
Inspect a single registered repository and return its RepoStatus.
validate_git_repo
Verify that path is a git repository, returning its canonical absolute form on success. Symlinks are resolved; relative inputs are absolutized.