How souandresouza/cadrocfile works
Cadrocfile is a GTK4 Linux file manager. Users enter through the application window, browse folders and tabs, then invoke file actions or specialized features such as search, preview, archive handling, and mounts. The graph preserves these distinct feature stages and the shared filesystem/configuration layer. Edges follow shown calls or module references and explicit README descriptions; several listed subsystems were not sampled, so their internal wiring is omitted.
Main entry points: actions.rs Window Actions · window.rs Main Window · sidebar.rs Sidebar · app.rs Application Setup
Components 28
Application UI
- Application Setup
src/app.rs - Main Window
src/ui/window.rs - Window Actions
src/ui/actions.rs - File Views
src/ui/file_view.rs - Sidebar
src/ui/sidebar.rs
File Operations
- Search
src/fs/search.rs - Directory Scan
src/fs/scan.rs - File Operations
src/fs/ops.rs - Batch Rename
src/fs/batch_rename.rs - Trash and Shred
src/fs/trash.rs - Archive Handling
src/archive/mod.rs - Downloads
src/fs/download/mod.rs - Disk Usage
src/ui/usage.rs
Storage Integrations
- Drive Mounts
src/drives/mod.rs - Portable Devices
src/fs/portable.rs - Network Shares
src/fs/remote.rs - Cloud Drives
src/fs/cloud.rs
Media Features
- File Preview
src/ui/preview.rs - Thumbnails
src/ui/thumbs.rs - Thumbnail Providers
src/ui/thumbnailers.rs - Raw Photo Support
src/fs/raw.rs
Shared Services
- Settings
src/config.rs - Worker Threads
src/fs/parallel.rs - Photo Metadata
src/fs/exif.rs
Other components
- User
- UDisks2
- GVFS
- rclone
Connections 34
- User → Application Setup: launches
- Application Setup → Settings: loads
src/app.rs - Application Setup → Worker Threads: sets workers
src/app.rs - Application Setup → Main Window: creates
src/app.rs - User → Main Window: browses
- Main Window → Directory Scan: scans folders
src/ui/window.rs - Main Window → Search: starts search
src/ui/window.rs - Main Window → File Views: updates view
src/ui/window.rs - Main Window → Sidebar: shows
src/ui/window.rs - User → Window Actions: invokes actions
- Window Actions → File Operations: runs operations
- Window Actions → Batch Rename: invokes rename
src/ui/actions.rs - Window Actions → Trash and Shred: invokes deletion
- Window Actions → Archive Handling: creates archives
src/ui/actions.rs - Window Actions → Downloads: starts download
src/ui/actions.rs - Window Actions → Drive Mounts: mounts volumes
src/ui/actions.rs - Window Actions → Network Shares: connects shares
src/ui/actions.rs - Window Actions → Cloud Drives: configures accounts
src/ui/actions.rs - Sidebar → Drive Mounts: lists volumes
src/ui/sidebar.rs - Sidebar → Portable Devices: lists devices
src/ui/sidebar.rs - Sidebar → Network Shares: lists shares
src/ui/sidebar.rs - Sidebar → Cloud Drives: lists accounts
src/ui/sidebar.rs - Drive Mounts → UDisks2: mounts through
- Network Shares → GVFS: mounts through
src/fs/remote.rs - Cloud Drives → rclone: mounts through
src/fs/cloud.rs - Main Window → File Preview: opens preview
src/ui/window.rs - File Preview → Raw Photo Support: decodes formats
src/ui/preview.rs - File Preview → Photo Metadata: reads metadata
src/ui/preview.rs - File Preview → Thumbnails: uses thumbnails
src/ui/preview.rs - Thumbnails → Thumbnail Providers: uses providers
src/ui/thumbs.rs - Main Window → Disk Usage: opens analysis
src/ui/window.rs - Disk Usage → Directory Scan: scans folders
src/ui/usage.rs - Settings → Network Shares: stores servers
src/config.rs - Settings → Cloud Drives: stores settings
src/fs/cloud.rs