pub struct AuditConfig {
pub root_markers: Vec<&'static str>,
pub include_claude_md: bool,
pub source_extensions: Vec<&'static str>,
pub source_dirs: Vec<&'static str>,
pub skip_dirs: Vec<&'static str>,
}Expand description
Configuration for instruction file discovery and auditing.
Different projects can customize behavior by providing different configs.
Fields§
§root_markers: Vec<&'static str>Project root marker files, checked in order. agent-doc uses many (Cargo.toml, package.json, etc.); corky uses only Cargo.toml.
include_claude_md: boolWhether to include CLAUDE.md in root-level discovery and agent file checks. agent-doc: true, corky: false.
source_extensions: Vec<&'static str>Source file extensions to check for staleness comparison. agent-doc: broad (rs, ts, py, etc.); corky: just “rs”.
source_dirs: Vec<&'static str>Source directories to scan for staleness. agent-doc: [“src”, “lib”, “app”, …]; corky: just [“src”].
skip_dirs: Vec<&'static str>Directories to skip when scanning for source files.
Implementations§
Source§impl AuditConfig
impl AuditConfig
Trait Implementations§
Source§impl Clone for AuditConfig
impl Clone for AuditConfig
Source§fn clone(&self) -> AuditConfig
fn clone(&self) -> AuditConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuditConfig
impl RefUnwindSafe for AuditConfig
impl Send for AuditConfig
impl Sync for AuditConfig
impl Unpin for AuditConfig
impl UnsafeUnpin for AuditConfig
impl UnwindSafe for AuditConfig
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