pub struct SkillsConfig {
pub enabled: bool,
pub root_markers: Vec<String>,
pub extends_dirs: Vec<PathBuf>,
pub extra: Vec<SkillsExtraEntry>,
}Expand description
Inputs for discover — all of it derived from resolved settings, which is what
makes the load order an invariant (ADR-0025 §6.1).
Fields§
§enabled: boolMaster switch. false ⇒ discovery returns nothing and touches no disk.
root_markers: Vec<String>Root markers for locating <repo> (default [".git"]).
extends_dirs: Vec<PathBuf>Resolved extends dotfolders (SettingsLoad::extends_dirs).
extra: Vec<SkillsExtraEntry>skills.extra entries from settings.
Implementations§
Source§impl SkillsConfig
impl SkillsConfig
Sourcepub fn enabled() -> SkillsConfig
pub fn enabled() -> SkillsConfig
Enabled, with the default .git marker.
Trait Implementations§
Source§impl Clone for SkillsConfig
impl Clone for SkillsConfig
Source§fn clone(&self) -> SkillsConfig
fn clone(&self) -> SkillsConfig
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 SkillsConfig
impl Debug for SkillsConfig
Source§impl Default for SkillsConfig
impl Default for SkillsConfig
Source§fn default() -> SkillsConfig
fn default() -> SkillsConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SkillsConfig
impl RefUnwindSafe for SkillsConfig
impl Send for SkillsConfig
impl Sync for SkillsConfig
impl Unpin for SkillsConfig
impl UnsafeUnpin for SkillsConfig
impl UnwindSafe for SkillsConfig
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