#[non_exhaustive]pub struct CommitGraphWriteReport {
pub path: PathBuf,
pub commit_count: usize,
pub removed_chain: bool,
pub bloom_stats: Option<BloomWriteStats>,
pub skipped: Option<CommitGraphSkipReason>,
}Expand description
Result of writing objects/info/commit-graph.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: PathBufPath to the monolithic commit-graph file.
commit_count: usizeCommits encoded in the graph (0 when Self::skipped is set).
removed_chain: boolWhether a split commit-graphs/ chain was removed.
bloom_stats: Option<BloomWriteStats>Bloom generation counters when CommitGraphOptions::changed_paths was set and a
graph was written.
skipped: Option<CommitGraphSkipReason>Why no graph was written, when the repository rewrites parent lists.
Trait Implementations§
Source§impl Clone for CommitGraphWriteReport
impl Clone for CommitGraphWriteReport
Source§impl Debug for CommitGraphWriteReport
impl Debug for CommitGraphWriteReport
impl Eq for CommitGraphWriteReport
Source§impl PartialEq for CommitGraphWriteReport
impl PartialEq for CommitGraphWriteReport
impl StructuralPartialEq for CommitGraphWriteReport
Auto Trait Implementations§
impl Freeze for CommitGraphWriteReport
impl RefUnwindSafe for CommitGraphWriteReport
impl Send for CommitGraphWriteReport
impl Sync for CommitGraphWriteReport
impl Unpin for CommitGraphWriteReport
impl UnsafeUnpin for CommitGraphWriteReport
impl UnwindSafe for CommitGraphWriteReport
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