stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

fabricio_ar

@fabricio_ar

Joined August 25th, 2026

  • 4Devlogs
  • 2Projects
  • 0Ships
  • 0Votes
Open comments for this post

1h 34m 58s logged

Hiii, Fabricio here.
Since the last devlog, I focused on making the VFS core trustworthy instead of just functional. I added a unit test for every method of the FileSystem trait in ferrox-core, using temporary directories (via tempfile) so the tests are isolated and don’t touch the real filesystem. There’s now one test per VFS operation:

  1. read_dir_lists_a_file — lists entries in a directory.
  2. metadata_returns_correct_node_type_for_file — checks the NodeType returned for a file.
  3. exists_returns_true_for_existing_file — verifies existence checks.
  4. create_dir_creates_a_directory — creates a directory (and its parents).
  5. remove_deletes_a_file — deletes a file and confirms it’s gone.
  6. rename_renames_a_file — moves/renames a file.
  7. find_matches_file_in_nested_directory — recursive search finds a file in a nested folder.

This closes the “Add unit tests using temporary directories” milestone from Phase 0 of the roadmap. On the architecture side, I started modeling the advanced VFS entities. I added a Mount type (with a MountKind enum, currently Local) that maps a virtual mount_point to a real source path handled by a specific backend. Right now it’s just the data model the actual mount resolution logic will come next but it lays the groundwork for composing multiple backends (local, zip, remote, etc.) under a single virtual tree, which is the whole point of the VFS-first design.
Next up: wiring the Mount model into the VFS so paths can actually be routed to the right backend, and moving toward async I/O with tokio.

0
0
10
Open comments for this post

2h 36m 40s logged

Ferrox is a modular file explorer coded in Rust that aims to be super fast by applying competitive programming concepts and efficient algorithms to directory traversal, currently sitting at v0.1.0-alpha with a solid foundation that features a decoupled Virtual File System architecture (ferrox-core) completely separated from the CLI interface (ferrox-cli) to allow future TUI (ratatui) and GUI implementations to share the exact same logic; it already includes basic functional commands like ls with directory-first sorting and human-readable size formatting, mkdir, mv, rm with symlink-safe checks, stat for metadata inspection, and a recursive DFS-based find command, laying down the baseline before moving into parallel traversals, memory optimizations, and the interactive terminal interface.

0
0
31

Followers

Loading…