pub struct RuleOverrides {
pub secret_globs: Vec<String>,
pub cache_dirs: Vec<String>,
pub keep: Vec<String>,
pub no_link_report: Vec<String>,
}Expand description
Operator-supplied additions read from [pack] in config.toml.
Fields§
§secret_globs: Vec<String>Extra secret globs, added to DEFAULT_SECRET_GLOBS.
cache_dirs: Vec<String>Extra cache directory names, added to DEFAULT_CACHE_DIRS.
keep: Vec<String>Globs packed anyway, added to DEFAULT_KEEP.
no_link_report: Vec<String>Path globs whose symlinks are packed but left out of the link report.
A symlink is a problem by default — it breaks when the project is
carried elsewhere — so every one is reported. This names the exception:
a directory that is meant to be links, such as a shared .zsh/ tree.
Those are already known to the operator, so listing them is noise that
hides the links that do need attention.
No built-in counterpart, deliberately: only the operator knows which of their directories are link-by-design. Unset means every symlink is reported.
Implementations§
Trait Implementations§
Source§impl Clone for RuleOverrides
impl Clone for RuleOverrides
Source§fn clone(&self) -> RuleOverrides
fn clone(&self) -> RuleOverrides
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleOverrides
impl Debug for RuleOverrides
Source§impl Default for RuleOverrides
impl Default for RuleOverrides
Source§fn default() -> RuleOverrides
fn default() -> RuleOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuleOverrides
impl RefUnwindSafe for RuleOverrides
impl Send for RuleOverrides
impl Sync for RuleOverrides
impl Unpin for RuleOverrides
impl UnsafeUnpin for RuleOverrides
impl UnwindSafe for RuleOverrides
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