pub trait Substrate {
// Provided methods
fn changed_files(&self) -> Option<&[String]> { ... }
fn repo_root(&self) -> Option<&Path> { ... }
fn metadata(&self) -> Option<&Value> { ... }
}Expand description
Optional shared substrate from the Cockpit runtime.
Provides pre-computed inventory to avoid redundant scans.
No sensor may require a Substrate to function.
Provided Methods§
Sourcefn changed_files(&self) -> Option<&[String]>
fn changed_files(&self) -> Option<&[String]>
Pre-computed list of changed file paths (forward-slash normalized).