#[non_exhaustive]pub enum DropPromisedBlobsSkip {
Disabled,
NoPromisorRemote,
OperationInProgress(InProgressOperation),
PreciousObjects,
NoCurrentTime,
}Expand description
Why gc did not run its drop phase (DropPromisedBlobsReport::skipped).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
maintenance.drop-large-blobs.enabled is not true, or expire is never.
NoPromisorRemote
The repository has no promisor remote, so there is nothing to fetch back from.
OperationInProgress(InProgressOperation)
A worktree is in the middle of this operation, which may need the blobs.
PreciousObjects
extensions.preciousObjects is set: objects are never deleted.
NoCurrentTime
The gc options carry no current time (super::GcOptions::now_unix is 0,
or not a representable time), so there is no recency cutoff to apply.
Trait Implementations§
Source§impl Clone for DropPromisedBlobsSkip
impl Clone for DropPromisedBlobsSkip
impl Copy for DropPromisedBlobsSkip
Source§impl Debug for DropPromisedBlobsSkip
impl Debug for DropPromisedBlobsSkip
impl Eq for DropPromisedBlobsSkip
Source§impl PartialEq for DropPromisedBlobsSkip
impl PartialEq for DropPromisedBlobsSkip
impl StructuralPartialEq for DropPromisedBlobsSkip
Auto Trait Implementations§
impl Freeze for DropPromisedBlobsSkip
impl RefUnwindSafe for DropPromisedBlobsSkip
impl Send for DropPromisedBlobsSkip
impl Sync for DropPromisedBlobsSkip
impl Unpin for DropPromisedBlobsSkip
impl UnsafeUnpin for DropPromisedBlobsSkip
impl UnwindSafe for DropPromisedBlobsSkip
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§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.