Expand description
High-level ingestion pipeline — workspace-wide self-ingest and graph coherence verification.
Provides:
ingest_workspace(): walk all crates in a Cargo workspace and ingest themverify_graph(): check graph coherence (no dangling edges, no duplicate IDs)write_graph_parquet(): persist CodeNode + CodeEdge batches to Parquet files
Structs§
- Graph
Violations - Graph coherence violations found by
verify_graph(). - Workspace
Ingest Result - Workspace-wide ingestion result.
Functions§
- discover_
workspace_ crates - Discover all crate directories in a Cargo workspace.
- ingest_
workspace - Ingest all crates in a Cargo workspace.
- load_
nodes_ from_ parquet - Load CodeNodes from a Parquet graph directory produced by
write_graph_parquet(). - verify_
graph - Verify graph coherence of merged CodeNode + CodeEdge RecordBatches.
- write_
graph_ parquet - Write CodeNodes and CodeEdges RecordBatches to Parquet files.