Crate git_status_vars

source ·
Expand description

This is primarily a command line utility. The documentation for the command line interface is in README.md.

The primary entrance to this code is summarize_repository(). It opens a Repository, then calls summarize_opened_repository() on it.

Structs

Track changes in the working tree and index (staged area).
The trail of a HEAD reference.
A reference in a git repository.
A writer of var=value pairs.

Traits

An object that can be written as a group of shell variables.

Functions

Count changes in the working tree and index (staged area) of a repository.
Get the (ahead, behind) count of HEAD versus its upstream branch.
Trace the HEAD reference for a repository.
Quote a value for safe shell insertion.
Format a value with Debug and quote it for safe shell insertion.
Summarize information about a successfully opened repository.
Summarize information about a repository.