pub struct HookConfig {
pub doover_home: PathBuf,
pub home: PathBuf,
pub limits: Limits,
pub unknown_policy: UnknownPolicy,
pub maintenance: MaintenanceBudget,
}Fields§
§doover_home: PathBufStore + journal + user registry overlay live here (default ~/.doover).
home: PathBufThe user’s home, for tilde resolution (the hook process’s own $HOME).
limits: LimitsApplied to EVERY snapshot — known-destructive scopes included
(carried-forward requirement; rm -rf huge/ must not stall the hook
unboundedly).
unknown_policy: UnknownPolicy§maintenance: MaintenanceBudgetStore budgets + the automatic gc cadence (D2). The post hook runs gc when the cadence or free-space floor fires, so the store self-bounds without a cron.
Implementations§
Source§impl HookConfig
impl HookConfig
Auto Trait Implementations§
impl Freeze for HookConfig
impl RefUnwindSafe for HookConfig
impl Send for HookConfig
impl Sync for HookConfig
impl Unpin for HookConfig
impl UnsafeUnpin for HookConfig
impl UnwindSafe for HookConfig
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