How aaditb528-web/voluma works
Voluma is a Tauri disk analyzer: users choose a drive, scan it, then explore categorized space and files through tables and a treemap. The frontend invokes Tauri commands; the documented backend scans NTFS MFT data and maintains an in-memory index for lazy data fetching. The graph preserves the documented categorization and allocation capabilities. Backend command handlers and scan internals were not excerpted, so those internal links are marked unverified rather than presented as inspected call paths.
Main entry points: page.tsx Scan and Explore · api.ts Tauri API Client · lib.rs Command Handlers · DrivePicker.tsx Drive Picker
Components 16
Drive and Results UI
- Drive Picker
app/_components/DrivePicker.tsx - Scan and Explore
app/page.tsx - Storage Bar
app/_components/StorageBar.tsx - Virtual File Table
app/_components/VirtualTable.tsx - Interactive Treemap
app/_components/Treemap.tsx - Context Menu
app/_components/ContextMenu.tsx - Display and Categories
app/_lib/format.ts
Frontend Bridge
- Tauri API Client
app/_lib/api.ts
Scan and Index
- Command Handlers
src-tauri/src/lib.rs - In-Memory Index
src-tauri/src/lib.rs
NTFS Parsing
- Volume Access
src-tauri/crates/ntfs-mft/src/volume.rs - Raw MFT Scan
src-tauri/crates/ntfs-mft/src/raw_mft/mod.rs - Record Reading
src-tauri/crates/ntfs-mft/src/raw_mft/serial/engine.rs - Entry and Allocation
src-tauri/crates/ntfs-mft/src/raw_mft/entry_build/entry.rs - Data Run Decoder
src-tauri/crates/ntfs-mft/src/raw_mft/layout/data_run.rs
Other components
- User
Connections 19
- User → Drive Picker: selects drive
app/_components/DrivePicker.tsx - User → Scan and Explore: explores results
app/page.tsx - Drive Picker → Tauri API Client: requests drives
app/_components/DrivePicker.tsx - Scan and Explore → Tauri API Client: requests scan and data
app/page.tsx - Tauri API Client → Command Handlers: invokes commands
app/_lib/api.ts - Command Handlers → In-Memory Index: serves indexed data
README.md - Command Handlers → Volume Access: opens selected volume
README.md - Volume Access → Raw MFT Scan: provides raw MFT
src-tauri/crates/ntfs-mft/src/lib.rs - Raw MFT Scan → Record Reading: scans records
src-tauri/crates/ntfs-mft/src/raw_mft/mod.rs - Record Reading → Entry and Allocation: parses records
src-tauri/crates/ntfs-mft/src/raw_mft/serial/engine.rs - Entry and Allocation → Data Run Decoder: decodes allocation
src-tauri/crates/ntfs-mft/src/raw_mft/entry_build/entry.rs - Scan and Explore → Storage Bar: renders categories
app/page.tsx - Scan and Explore → Virtual File Table: renders file results
app/page.tsx - Scan and Explore → Interactive Treemap: renders treemap
app/page.tsx - Scan and Explore → Context Menu: offers actions
app/page.tsx - Storage Bar → Display and Categories: formats values
app/_components/StorageBar.tsx - Scan and Explore → Display and Categories: uses category rules
app/page.tsx - Interactive Treemap → Tauri API Client: fetches treemap data
app/_components/Treemap.tsx - Scan and Explore → In-Memory Index: fetches indexed results
README.md