pub struct GitChange {
pub file_path: String,
pub operation: String,
pub additions: Option<u32>,
pub deletions: Option<u32>,
}Expand description
One file change observed via git that wasn’t already captured by a
tool channel. Mapped 1:1 into a synthetic AgentWroteFile event
at session close so it flows through the normal aggregator and
receipt composition path.
Fields§
§file_path: String§operation: String“created”, “modified”, “deleted”, “renamed”, or “untracked”.
additions: Option<u32>§deletions: Option<u32>Trait Implementations§
impl Eq for GitChange
impl StructuralPartialEq for GitChange
Auto Trait Implementations§
impl Freeze for GitChange
impl RefUnwindSafe for GitChange
impl Send for GitChange
impl Sync for GitChange
impl Unpin for GitChange
impl UnsafeUnpin for GitChange
impl UnwindSafe for GitChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.