oxinav-core 0.4.0

Core logic for OxiNav: file operations, pane state, archives and viewing, with no UI dependency
Documentation
# oxinav-core

Domain logic for [OxiNav](https://github.com/MadsAndreasen/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 by `OperationEngine`, 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.
- **`session`** — the state carried into the next run (both panes' directory,
  theme, hidden files, sort order) and its on-disk format.
- **`uri`** — encodes paths as a `text/uri-list` payload for drag-and-drop,
  percent-encoding raw bytes so names that are not valid UTF-8 survive.
- **`command`** — the command palette's action list and fuzzy matching.

## Example

```rust
use oxinav_core::operation::{Operation, OperationEngine, StdFilesystem};

let engine = OperationEngine::new(StdFilesystem);
engine.execute(&Operation::CreateDir { path: "/tmp/demo".into() })?;
# Ok::<(), oxinav_core::error::OxiNavError>(())
```

## License

MIT