pub struct CacheGcOptions {
pub dry_run: bool,
pub scan_roots: Option<Vec<PathBuf>>,
pub older_than: Option<u64>,
pub silent: bool,
}Expand description
Options for cache_gc.
Fields§
§dry_run: bool§scan_roots: Option<Vec<PathBuf>>Roots to scan for .ask/resolved.json. None → [$HOME].
older_than: Option<u64>Age gate in milliseconds; entries newer than now - older_than are kept.
silent: boolSuppress per-entry progress (set by the --json path).
Trait Implementations§
Source§impl Clone for CacheGcOptions
impl Clone for CacheGcOptions
Source§impl Debug for CacheGcOptions
impl Debug for CacheGcOptions
Auto Trait Implementations§
impl Forget for CacheGcOptions
impl Freeze for CacheGcOptions
impl Move for CacheGcOptions
impl RefUnwindSafe for CacheGcOptions
impl Send for CacheGcOptions
impl Sync for CacheGcOptions
impl Unpin for CacheGcOptions
impl UnsafeUnpin for CacheGcOptions
impl UnwindSafe for CacheGcOptions
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