Skip to main content

Crate plut_core

Crate plut_core 

Source
Expand description

Project model, run context and diagnostics shared by every Plut crate.

This crate has no knowledge of rules or output formats. It answers one question: what files exist in this project, and where does each of them run?

Re-exports§

pub use config::Config;
pub use config::Gb117Options;
pub use config::RuleOptions;
pub use error::Error;
pub use finding::Confidence;
pub use finding::Finding;
pub use finding::FixSafety;
pub use finding::Severity;
pub use finding::Span;
pub use finding::TextEdit;
pub use finding::source_hash;
pub use project::Alias;
pub use project::Dependency;
pub use project::FileKind;
pub use project::ModelSource;
pub use project::Project;
pub use project::SourceFile;
pub use run_context::RunContext;

Modules§

config
error
finding
index
project
run_context
sourcemap
A Rojo sourcemap is the project model: it states which file lands on which instance. Run context is derived from that tree, not guessed from directories.

Functions§

is_generated
Whether a file declares itself generated.