Crate mrh [] [src]

A Git repo can be in a number of states where some pending actions may need to be taken:

  • uncommitted changes
  • untracked files (can be disabled flag)
  • unpushed commits
  • unpulled commits
  • added files
  • deleted files
  • renamed files
  • untagged HEAD (optional)

This library is meant to inspect those states, given a root path as starting point.

For a usage example, see main.rs, which is the command-line tool exercising the library.

Structs

Crawler

Crawls the filesystem, given a starting point, looking for Git repos.

Output

Represents Crawler output. There are 3 possible scenarios: