dioxus-swdir-tree-core 0.4.0

Framework-free directory-tree state machine powering dioxus-swdir-tree: lazy loading, display filters, and a generation-tagged async scan protocol over swdir.
Documentation

dioxus-swdir-tree-core

The framework-free state machine behind dioxus-swdir-tree: a lazily loading directory tree over swdir.

  • DirectoryTree / TreeNode — the tree, its four toggle cases, and the flat visible_rows() draw model.
  • ScanRequest / LoadPayload / scan::run — side effects as data: the embedding layer decides where the blocking scan runs.
  • Generation-tagged staleness protocol — late scan results are discarded without corrupting state.
  • DisplayFilter + TreeCache — zero-I/O filter switching.

This crate depends only on swdir — no Dioxus, no GUI framework — so it is testable everywhere and reusable from other frontends. Most applications should depend on the flagship dioxus-swdir-tree crate instead.

License: Apache-2.0.