pub struct PrunedDir {
pub repo_path: PathBuf,
pub bloat_dir: String,
pub adapter: String,
pub size_freed: u64,
}Expand description
One directory a prune pass deleted.
Enough to put it back and nothing more: which repository it belonged to, which project inside that repository owned it, and who verified it. No file list — the lockfile is the record of the contents, which is the whole premise of the tool.
Fields§
§repo_path: PathBufRepository root the directory belonged to.
bloat_dir: StringRepository-relative label, /-separated: node_modules, frontend/node_modules.
adapter: StringAdapter that verified and deleted it.
size_freed: u64Bytes reclaimed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrunedDir
impl<'de> Deserialize<'de> for PrunedDir
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrunedDir
impl StructuralPartialEq for PrunedDir
Auto Trait Implementations§
impl Freeze for PrunedDir
impl RefUnwindSafe for PrunedDir
impl Send for PrunedDir
impl Sync for PrunedDir
impl Unpin for PrunedDir
impl UnsafeUnpin for PrunedDir
impl UnwindSafe for PrunedDir
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,
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
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more