Structs§
- GitRemote
Url - Host + path split out of a parsed git remote URL.
- Name
StatusZ Entry
Enums§
Functions§
- has_
staged_ changes - has_
staged_ changes_ in - is_
git_ available - is_
git_ repo - is_
git_ repo_ in - is_
inside_ work_ tree - is_
inside_ work_ tree_ in - is_
lockfile_ path - parse_
git_ remote_ url - Parse a git remote URL into a
host/pathpair, accepting the four shapes git itself accepts: - parse_
name_ status_ z - repo_
root - repo_
root_ in - repo_
root_ or_ cwd - require_
repo - require_
repo_ in - require_
work_ tree - require_
work_ tree_ in - rev_
parse - rev_
parse_ in - run_
output - run_
output_ in - run_
output_ in_ with_ env - run_
output_ with_ env - run_
status_ inherit - run_
status_ inherit_ in - run_
status_ inherit_ in_ with_ env - run_
status_ inherit_ with_ env - run_
status_ quiet - run_
status_ quiet_ in - staged_
name_ only - staged_
name_ only_ in - strip_
userinfo - Return the substring after the last
@, or the input unchanged when no@is present. Used by git remote URL parsers to drop theuserinfo@prefix from a host segment (or a host+path string, since/cannot appear inside userinfo, splitting at the last@is safe for both shapes). - suggested_
scope_ from_ staged_ paths - trim_
trailing_ newlines