MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / GraphStats

Class GraphStats

atomic-core/src/output/alive/graph.rs:449–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447/// Useful for debugging, logging, and performance analysis.
448#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
449pub struct GraphStats {
450 /// Number of vertices in the graph.
451 pub vertex_count: usize,
452
453 /// Number of child entries.
454 pub child_count: usize,
455
456 /// Total bytes of content.
457 pub total_bytes: usize,
458
459 /// Number of zombie vertices (deleted but with live connections).
460 pub zombie_count: usize,
461
462 /// Number of empty (zero-length) vertices.
463 pub empty_vertex_count: usize,
464}
465
466impl GraphStats {
467 /// Check if the graph has any conflicts (zombies).

Callers 1

agent_attestFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected