Expand description
Modularized graph file operations
This directory contains the split modules from the original graph_file.rs to maintain the 300 LOC limit while preserving all functionality.
§Module Organization
- buffers.rs: Adaptive read/write buffer management
- validation.rs: File validation and corruption detection
- encoding.rs: Safe header encoding/decoding utilities
- debug.rs: Debug instrumentation and logging
- file_ops.rs: Core file I/O operations
- header.rs: Header encoding/decoding and persistent header operations (future)
- transaction.rs: Transaction lifecycle and commit management (future)
- io_backend.rs: I/O routing and backend selection (future)
- mmap_ops.rs: Memory mapping operations and management (future)
Re-exports§
pub use buffers::ReadBuffer;pub use buffers::WriteBuffer;pub use debug::DebugInstrumentation;pub use encoding::decode_persistent_header;pub use encoding::encode_persistent_header;pub use encoding::get_slice_safe;pub use file_lifecycle::FileLifecycleManager;pub use file_management::FileManager;pub use file_ops::FileOperations;pub use file_ops::IOMode;pub use graph_file_advanced::DebugInfo;pub use graph_file_advanced::FileHealthStatus;pub use graph_file_advanced::OptimizationReport;pub use graph_file_coordinator::GraphFileCoordinator;pub use graph_file_coordinator::TransactionCoordinatorStatistics;pub use header::ClusterUtilization;pub use header::HeaderManager;pub use header::HeaderStatistics;pub use io_backend::IOBackendManager;pub use io_backend::IOBackendStatistics;pub use io_operations::IOOperationsManager;pub use memory_mapping::MemoryMappingManager;pub use memory_resource_manager::AccessPatternHint;pub use memory_resource_manager::MemoryIOMode;pub use memory_resource_manager::MemoryManagementStatistics;pub use memory_resource_manager::MemoryResourceManager;pub use memory_resource_manager::MemoryUtils;pub use mmap_ops::MMapConfig;pub use mmap_ops::MMapManager;pub use mmap_ops::MMapStatistics;pub use node_edge_access::NodeEdgeAccessManager;pub use transaction::TransactionManager;pub use transaction::TransactionStatistics;pub use transaction_auditor::TransactionAuditor;pub use transaction_auditor::TransactionAuditorStatistics;pub use validation::GraphFileValidator;
Modules§
- buffers
- Adaptive buffer management for I/O optimization
- debug
- Debug instrumentation and logging utilities for GraphFile
- encoding
- Header encoding and decoding utilities for persistent header operations
- file_
lifecycle - File lifecycle operations for GraphFile
- file_
management - File management and lifecycle operations for GraphFile
- file_
ops - Core file operations for GraphFile
- graph_
file_ accessors - GraphFile node and edge access operations
- graph_
file_ advanced - Advanced GraphFile features
- graph_
file_ coordinator - Graph file coordinator module
- graph_
file_ core - Core GraphFile API operations
- graph_
file_ io - GraphFile I/O operations
- header
- Header management and persistent header operations
- io_
backend - I/O backend routing and management for GraphFile
- io_
operations - I/O operations and data transfer for GraphFile
- memory_
mapping - Memory mapping operations and management for GraphFile
- memory_
resource_ manager - Memory resource manager for GraphFile
- mmap_
ops - Memory mapping operations and management for GraphFile
- node_
edge_ access - Node and edge record access operations for GraphFile
- transaction
- Transaction lifecycle and commit management for GraphFile
- transaction_
auditor - Transaction auditor and node modification tracking module
- validation
- File validation and corruption detection utilities
Structs§
- Graph
File - Graph file wrapper that manages file handle and header operations