Crate magellan

Crate magellan 

Source
Expand description

Magellan: A dumb, deterministic codebase mapping tool

Magellan observes files, extracts symbols and references, and persists facts to sqlitegraph.

Re-exports§

pub use diagnostics::DiagnosticStage;
pub use diagnostics::SkipReason;
pub use diagnostics::WatchDiagnostic;
pub use generation::ChunkStore;
pub use generation::CodeChunk;
pub use graph::filter::FileFilter;
pub use graph::query::SymbolQueryResult;
pub use graph::CodeGraph;
pub use graph::DeleteResult;
pub use graph::ExportConfig;
pub use graph::ExportFormat;
pub use graph::ReconcileOutcome;
pub use graph::ScanProgress;
pub use graph::MAGELLAN_SCHEMA_VERSION;
pub use graph::scan::ScanResult;
pub use indexer::run_indexer;
pub use indexer::run_indexer_n;
pub use indexer::run_watch_pipeline;
pub use indexer::WatchPipelineConfig;
pub use ingest::detect::detect_language;
pub use ingest::detect::Language;
pub use ingest::Parser;
pub use ingest::SymbolFact;
pub use ingest::SymbolKind;
pub use references::CallFact;
pub use references::ReferenceFact;
pub use verify::verify_graph;
pub use verify::VerifyReport;
pub use validation::PathValidationError;
pub use validation::canonicalize_path;
pub use validation::validate_path_within_root;
pub use watcher::EventType;
pub use watcher::FileEvent;
pub use watcher::FileSystemWatcher;
pub use watcher::WatcherBatch;
pub use watcher::WatcherConfig;
pub use output::JsonResponse;
pub use output::OutputFormat;
pub use output::generate_execution_id;
pub use output::output_json;
pub use output::command::Span;
pub use output::command::SymbolMatch;
pub use output::command::ReferenceMatch;

Modules§

diagnostics
Structured diagnostics for Magellan watch/index operations.
generation
Code generation and storage module.
get_cmd
Get command - Retrieve source code for symbols
graph
Graph persistence layer using sqlitegraph
indexer
Indexer coordinator for Magellan
ingest
output
JSON output module for CLI commands
references
Reference and call extraction from Rust source code
validation
Path validation and canonicalization utilities.
verify
Database verification module
watcher
Filesystem watcher with debounced batch events.

Enums§

FailPoint
Test operations that can be verified during delete.

Functions§

delete_file_facts_with_injection
Delete ALL facts derived from a file path with verification points.