pub struct SyncReport {
pub tree: String,
pub no_op: bool,
pub blobs_total: usize,
pub blobs_extracted: usize,
pub blobs_cached: usize,
pub blobs_dirty: usize,
pub nodes: u64,
pub edges: u64,
}Expand description
A summary of the work a sync performed.
Fields§
§tree: StringHex id of the synced HEAD tree.
no_op: boolWhether the tree was unchanged and nothing was done.
blobs_total: usizeTotal blobs in the tree.
blobs_extracted: usizeBlobs that were extracted (cache misses).
blobs_cached: usizeBlobs served from the cache (cache hits).
blobs_dirty: usizeWorking-tree files whose uncommitted content overrode the committed blob
(the dirty overlay); always zero for a committed-only sync.
nodes: u64Nodes in the store after syncing.
edges: u64Edges in the store after syncing.
Trait Implementations§
Source§impl Clone for SyncReport
impl Clone for SyncReport
Source§fn clone(&self) -> SyncReport
fn clone(&self) -> SyncReport
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 SyncReport
impl Debug for SyncReport
Source§impl Default for SyncReport
impl Default for SyncReport
Source§fn default() -> SyncReport
fn default() -> SyncReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncReport
impl RefUnwindSafe for SyncReport
impl Send for SyncReport
impl Sync for SyncReport
impl Unpin for SyncReport
impl UnsafeUnpin for SyncReport
impl UnwindSafe for SyncReport
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