Struct mrh::Output [−][src]
pub struct Output { pub path: PathBuf, pub pending: Option<Set<&'static str>>, pub error: Option<Error>, }
Represents Crawler output
There are 3 possible scenarios:
- There are no pending states, so only
path
(to the repo) has a value - There are no pending states, and there is some error preventing the
repo to be inspected properly... the
path
anderror
variant will have values - There are pending states...
path
andpending
will have values
Fields
path: PathBuf
Repository path
pending: Option<Set<&'static str>>
A list of pending actions
error: Option<Error>
Git-related error