pub struct Facts {Show 16 fields
pub edits: Vec<String>,
pub adds: Vec<String>,
pub deletes: Vec<String>,
pub added_files: Vec<String>,
pub deleted_files: Vec<String>,
pub modified_files: Vec<String>,
pub signature_changes: Vec<String>,
pub import_only_files: Vec<String>,
pub tests: TestDelta,
pub lines_added: u32,
pub lines_removed: u32,
pub renames: Vec<[String; 2]>,
pub unparsed_files: Vec<String>,
pub unread_files: Vec<String>,
pub affected: Vec<String>,
pub affected_more: u32,
}Expand description
What a change actually does, computed by Lonca from the Git objects.
Fields§
§edits: Vec<String>§adds: Vec<String>§deletes: Vec<String>§added_files: Vec<String>§deleted_files: Vec<String>§modified_files: Vec<String>§signature_changes: Vec<String>§import_only_files: Vec<String>Lines changed inside import blocks only (lease-free, merged as sets).
tests: TestDelta§lines_added: u32§lines_removed: u32§renames: Vec<[String; 2]>Symbols that go on under another name: [old, new]. A renamed one is
also in deletes and adds, one with new parameters in edits.
unparsed_files: Vec<String>Text files changed that no parser reads, whole-file edits in edits.
Under leases.unparsed_files = "optimistic" they need no lease.
unread_files: Vec<String>Files that a grammar read until this change and can not read after it. From here on facts about them say nothing of their symbols, so a person has to agree.
affected: Vec<String>Symbols of the base that mention by name what this change gives a new signature, renames or deletes, and that it leaves as they are. By name only: a guess that errs towards too many, never a call graph.
affected_more: u32How many more there were than affected holds.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Facts
impl<'de> Deserialize<'de> for Facts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Facts
impl StructuralPartialEq for Facts
Auto Trait Implementations§
impl Forget for Facts
impl Freeze for Facts
impl RefUnwindSafe for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Facts
impl UnwindSafe for Facts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.