oxinav-core
Domain logic for OxiNav, a keyboard-first dual-pane file manager. This crate has no UI dependency and is usable on its own.
All filesystem access goes through the Filesystem trait, so everything here
is testable against an in-memory mock rather than real directories.
What's in it
operation—Operation(copy, move, rename, delete, create dir/file, symlink, extract archive) executed byOperationEngine, with pre-flight checks that reject an operation before touching the disk. Batch operations report progress and are cancellable.pane— pane state: listing, cursor and multi-selection, sorting, hidden-file handling, a glob/substring name filter, and back/forward directory history.archive— archive format detection and the entry-path guard that keeps extraction inside its destination.viewer— classifies file bytes as text or binary and prepares a capped display form, including a hex dump.bookmarks— named directories and their on-disk format.command— the command palette's action list and fuzzy matching.
Example
use ;
let engine = new;
engine.execute?;
# Ok::
License
MIT