pub struct PathsConfig {
pub exclude: Vec<String>,
pub include: Vec<String>,
pub follow_symlinks: bool,
pub respect_gitignore: bool,
pub prompt_dirs: Vec<String>,
}Expand description
The paths: block of .ailint.yaml.
Fields§
§exclude: Vec<String>Additional path globs to exclude from discovery.
include: Vec<String>If non-empty, only paths matching one of these globs are linted.
follow_symlinks: boolFollow symbolic links during discovery.
respect_gitignore: boolHonor .gitignore and other VCS ignore files during discovery.
prompt_dirs: Vec<String>Gitignore-style globs (relative to the repo root) marking prompt
directories. Files under a matching directory that would otherwise be
classified as generic Markdown/YAML docs are treated as
FileType::GenericSystemPrompt instead, since no single filename
convention for system prompts exists across agent frameworks.
Trait Implementations§
Source§impl Clone for PathsConfig
impl Clone for PathsConfig
Source§fn clone(&self) -> PathsConfig
fn clone(&self) -> PathsConfig
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 PathsConfig
impl Debug for PathsConfig
Source§impl Default for PathsConfig
impl Default for PathsConfig
Source§impl<'de> Deserialize<'de> for PathsConfigwhere
PathsConfig: Default,
impl<'de> Deserialize<'de> for PathsConfigwhere
PathsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PathsConfig
impl JsonSchema for PathsConfig
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PathsConfig
impl RefUnwindSafe for PathsConfig
impl Send for PathsConfig
impl Sync for PathsConfig
impl Unpin for PathsConfig
impl UnsafeUnpin for PathsConfig
impl UnwindSafe for PathsConfig
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