geographdb-core 0.1.0

Geometric graph database core - 3D spatial indexing for code analysis
Documentation
//! Storage engine modules
//!
//! Provides memory-mapped file storage with MVCC support and sectioned file storage.

pub mod data_structures;
pub mod edge_store;
pub mod manager;
pub mod node_store;
pub mod paths;
pub mod sectioned;
pub mod sectioned_cfg;
pub mod sectioned_graph;
pub mod sectioned_symbol;
pub mod symbol_metadata;
pub mod wal;

pub use data_structures::{EdgeRec, MetadataRec, NodePoint, NodeRec};
pub use manager::StorageManager;

// Re-export key sectioned storage types
pub use sectioned::{
    compute_checksum, decode_header, decode_section_entry, encode_header, encode_section_entry,
    GeoFileHeader, Section, SectionEntry, SectionedStorage, FILE_MAGIC, FORMAT_VERSION,
    HEADER_SIZE, HEADER_SIZE_USIZE, MAX_SECTION_NAME_LEN, SECTION_ENTRY_SIZE,
    SECTION_ENTRY_SIZE_USIZE,
};

// Re-export path helpers
pub use paths::{all_sidecar_paths, geo_cfg_path, geo_complexity_path, geo_idx_path};

// Re-export graph section adapter
pub use sectioned_graph::{GraphData, GraphSectionAdapter};

// Re-export CFG section adapter
pub use sectioned_cfg::{CfgData, CfgEdge, CfgSectionAdapter, SerializableCfgBlock};

// Re-export symbol metadata types
pub use sectioned_symbol::SymbolMetadataSectionAdapter;
pub use symbol_metadata::{
    FileTable, StringTable, SymbolMetadata, SymbolMetadataRec, SymbolMetadataStore,
};

// Re-export WAL types
pub use wal::{Wal, WalEntry, WalEntryType};