pub struct AuditCacheKeyPayload {Show 28 fields
pub cache_version: u8,
pub cli_version: String,
pub base_sha: String,
pub config_file: AuditConfigFingerprint,
pub changed_files: Vec<String>,
pub materialized_context: AuditMaterializedContextFingerprint,
pub production: bool,
pub production_dead_code: Option<bool>,
pub production_health: Option<bool>,
pub production_dupes: Option<bool>,
pub workspace: Option<Vec<String>>,
pub changed_workspaces: Option<String>,
pub group_by: Option<String>,
pub include_entry_exports: bool,
pub show_cascade: bool,
pub brief: bool,
pub max_crap: Option<f64>,
pub coverage: Option<AuditCoverageFingerprint>,
pub coverage_root: Option<String>,
pub dead_code: bool,
pub health: bool,
pub dupes: bool,
pub architecture: String,
pub css: bool,
pub css_deep: bool,
pub dead_code_baseline: Option<String>,
pub health_baseline: Option<String>,
pub dupes_baseline: Option<String>,
}Expand description
Typed payload hashed to address an audit base-snapshot cache entry.
Fields§
§cache_version: u8Audit base snapshot cache schema version.
cli_version: StringFallow CLI version that produced the key.
base_sha: StringResolved git SHA for the base ref.
config_file: AuditConfigFingerprintConfig fingerprint.
changed_files: Vec<String>Changed files normalized to git-root-relative, forward-slash paths.
materialized_context: AuditMaterializedContextFingerprintHost dependency and generated context materialized into the base view.
production: boolGlobal production mode.
production_dead_code: Option<bool>Dead-code-specific production override.
production_health: Option<bool>Health-specific production override.
production_dupes: Option<bool>Duplication-specific production override.
workspace: Option<Vec<String>>Workspace filters.
changed_workspaces: Option<String>Changed-workspaces base ref, when enabled.
group_by: Option<String>Grouping mode.
include_entry_exports: boolWhether entry exports are analyzed.
show_cascade: boolKeep the export and member findings of unused files (--show-cascade).
brief: boolWhether the base pass ran for the review brief (--brief). Only a
brief base pass computes the public-export set of the snapshot.
max_crap: Option<f64>CRAP threshold override.
coverage: Option<AuditCoverageFingerprint>Coverage input fingerprint.
coverage_root: Option<String>Coverage root override.
dead_code: boolWhether audit ran the dead-code sub-analysis for the base snapshot.
health: boolWhether audit ran the health sub-analysis for the base snapshot.
dupes: boolWhether audit ran the duplication sub-analysis for the base snapshot.
architecture: StringWhich dead-code findings the selection keeps: all, only (the
architecture findings) or exclude (all but the architecture findings).
css: boolWhether audit health computed styling keys for the base snapshot.
css_deep: boolWhether audit health used deep CSS analysis for the base snapshot.
dead_code_baseline: Option<String>Dead-code baseline path.
health_baseline: Option<String>Health baseline path.
dupes_baseline: Option<String>Duplication baseline path.