Struct mrh::Crawler
[−]
[src]
pub struct Crawler<'a> { /* fields omitted */ }
Crawls the filesystem, given a starting point, looking for Git repos.
Methods
impl<'a> Crawler<'a>
[src]
fn new(path: &'a Path) -> Self
[src]
path
is where crawling for Git repos begin, the starting point
fn pending(self, answer: bool) -> Self
[src]
Decide if you only want matches that are in pending state
fn ignore_untracked(self, answer: bool) -> Self
[src]
Decide if you want to exclude matches that have untracked files
fn absolute_paths(self, answer: bool) -> Self
[src]
Display absolute paths (instead of relative ones)
fn untagged_heads(self, answer: bool) -> Self
[src]
Decide if you want matches whose HEADS are not tagged
A use-case is where related repositories (e.g. those comprising a single system), need to be tagged before, say, a release
fn run(&self) -> Vec<Output>
[src]
Run the crawler