pub struct Repository {
pub target: String,
pub git: bool,
pub tags: usize,
pub long_lived_branches: Vec<String>,
pub release_markers: Vec<String>,
pub collisions: Vec<String>,
pub tech: Option<String>,
pub forge: Option<String>,
pub repo: Option<String>,
pub verdict: Verdict,
pub evidence_refs: Vec<String>,
}Expand description
The repository’s own state, read off the disk and git.
Fields§
§target: StringThe target directory.
git: boolWhether the target is a git repository.
How many tags it holds.
long_lived_branches: Vec<String>Long-lived branches beside the trunk.
release_markers: Vec<String>Other tools’ release markers present.
collisions: Vec<String>Payload destinations already present.
tech: Option<String>The technology the version file names, where one is found.
forge: Option<String>The forge the origin remote maps to, where one is recognized.
repo: Option<String>The project path from the origin remote, where one exists.
verdict: VerdictThe corpus verdict the facts above earn.
evidence_refs: Vec<String>The evidence these facts rest on.
Trait Implementations§
Source§impl Clone for Repository
impl Clone for Repository
Source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Repository
impl Debug for Repository
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnsafeUnpin for Repository
impl UnwindSafe for Repository
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more