pub struct VaultSummary {
pub project: String,
pub total_nodes: usize,
pub total_edges: usize,
pub node_counts: Vec<(String, usize)>,
pub edge_provenance: Vec<(String, usize)>,
pub adrs: Vec<AdrEntry>,
pub debt: Vec<(String, usize)>,
pub densest_files: Vec<DensityEntry>,
pub config_secrets: Option<ConfigSecretSummary>,
pub most_called: Vec<CouplingEntry>,
pub repo_url: Option<String>,
pub commit: Option<String>,
}Expand description
Aggregate figures for the vault’s _Home overview note.
Fields§
§project: StringName of the scanned project (repository directory).
total_nodes: usizeTotal node and edge counts.
total_edges: usizeTotal edge count.
node_counts: Vec<(String, usize)>(kind, count) for each node kind, most-frequent first.
edge_provenance: Vec<(String, usize)>(provenance, edge count) — derived / authored / inferred.
adrs: Vec<AdrEntry>The ADRs, with status.
debt: Vec<(String, usize)>(category, count) of intent-debt markers.
densest_files: Vec<DensityEntry>The files where that debt is most concentrated, already ranked and capped by the caller. Empty when the graph has no markers, or when no file carrying one has a recorded length.
config_secrets: Option<ConfigSecretSummary>Secret-named config keys and their redaction state. None when the graph
holds no secret-named config key — the section is then absent rather than
rendering a row of zeroes, which would read as a clean bill of health this
lens cannot give.
most_called: Vec<CouplingEntry>The most depended-on symbols by directed call fan-in, already ranked
and capped by the caller. Empty when the graph has no calls edges.
repo_url: Option<String>Web root of the repository (https://host/owner/repo), if derivable from
the git remote — for a “Repository” link in the overview.
commit: Option<String>Hex commit the graph was rendered from, for a permalink note.
Trait Implementations§
Source§impl Clone for VaultSummary
impl Clone for VaultSummary
Source§fn clone(&self) -> VaultSummary
fn clone(&self) -> VaultSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more