Skip to main content

Module code_graph

Module code_graph 

Source
Expand description

Code Graph Extraction — extract code dependencies from source files

Multi-language support with tree-sitter AST parsing for Python, Rust, and TypeScript. Builds a code structure graph:

  • Nodes: files, classes/structs/traits, functions/methods
  • Edges: imports, calls, inherits, defined_in

Re-exports§

pub use types::ExtractMetadata;
pub use types::FileState;
pub use types::FileDelta;
pub use types::ExtractReport;
pub use types::*;

Modules§

types
Type definitions for the code graph module.

Functions§

compute_file_delta
Compute the FileDelta between current filesystem and stored metadata. (Hash-only variant, useful for testing without filesystem mtime)