pub struct PluginInput {
pub ignore: Vec<String>,
pub ignore_tests: bool,
pub gitignore: bool,
pub ignore_files: bool,
pub hidden: bool,
}Expand description
Everything the orchestrator feeds a plugin from config + CLI input.
Fields§
§ignore: Vec<String>Glob patterns for paths to skip during analysis (config + CLI).
ignore_tests: boolWhen true, the plugin must skip its own test files during the walk
(mirrors [ignore] tests). What counts as a test is language-specific, so
the detection lives in the plugin (during
analyze), not the CLI.
gitignore: boolWhen true, a directory-walking plugin honours .gitignore (+ global
gitignore + .git/info/exclude) while collecting source files, scoped to
the analyzed root (mirrors [ignore] gitignore). The Rust plugin resolves
files via cargo metadata, not a walk, so it ignores this.
ignore_files: boolWhen true, a directory-walking plugin honours .ignore files while
collecting source files (mirrors [ignore] ignore_files).
When true, a directory-walking plugin skips hidden files / directories
(dotfiles) while collecting source files (mirrors [ignore] hidden).
Trait Implementations§
Source§impl Clone for PluginInput
impl Clone for PluginInput
Source§fn clone(&self) -> PluginInput
fn clone(&self) -> PluginInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more