Expand description
File-oriented widgets built from VFS snapshots.
File-oriented widgets built on top of ailloli_ui_fs models.
The base FileExplorer remains UI-only: callers provide snapshots of file
entries and receive callbacks. The optional files_local feature adds a
convenience wrapper that builds that snapshot from the local provider.
Structs§
- File
Breadcrumb - Horizontal cumulative-path breadcrumb for a file URI.
- File
Breadcrumb Segment - One cumulative location displayed by
FileBreadcrumb. - File
Breadcrumb Style - Text and spacing styles for a
FileBreadcrumb. - File
Explorer - Snapshot-backed, URI-identified filesystem tree with editing and context menus.
- File
Explorer Create Dir - Committed inline directory-creation payload.
- File
Explorer Create File - Committed inline file-creation payload.
- File
Explorer IoResponse - Completed local directory request returned by the worker.
- File
Explorer Move - Resolved drag/drop move intent.
- File
Explorer Node - Caller-owned recursive file-explorer node.
- File
Explorer Rename - Committed inline rename payload.
- File
Explorer Row - Flat visible row produced from a recursive
FileExplorerNodetree. - File
Explorer Style - File explorer styling delegated to the underlying tree view.
- File
Icon Visual - Icon identifier and optional recommended foreground tint.
- File
Tree Model Bridge - Applies precise filesystem deltas to a retained UI model without exporting or cloning a recursive tree snapshot.
- File
Tree Node - One arena record in a
FileTreeStore. - File
Tree Node Id - Store-local index into
FileTreeStore::nodes. - File
Tree Options - Complete policy snapshot for synchronous or asynchronous tree loading.
- File
Tree Store - Retained arena, URI index, expansion state, and visible-row cache.
- Local
File Explorer - File explorer that resolves a native root and owns a background local worker.
- Local
File Explorer IoWorker - Owned request/response channels and worker thread for local listings.
- Retained
File Explorer - Filesystem explorer backed by a retained
TreeModelHandle. Node metadata is resolved only for the row being interacted with; ordinary build, layout, paint, and scroll never reconstruct a recursive snapshot.
Enums§
- DirLoad
State - Retained directory-listing state for one node.
- File
Explorer Action - High-level intent emitted by snapshot and retained file explorers.
- File
Explorer IoRequest - Command sent to the local filesystem worker.
- File
Explorer Model Event - Identity-aware event emitted by
RetainedFileExplorer. The opaque node IDs let a filesystem coordinator mutate its store without rediscovering a node from a path that may already have changed. - File
Explorer Size - Row-density preset for file explorer tree styling.
- File
Tree Load Mode - Policy deciding which directory levels are read proactively.
- File
Tree Model Bridge Error - Failure while constructing or updating a
FileTreeModelBridge. - Large
Directory Policy - Behavior when a listing exceeds its configured per-directory limit.
- Local
File Explorer Cache Mode - Cache behavior applied when a user toggles a local directory.
- Local
File Explorer Loading Mode - Local runtime directory-request strategy.
- Symlink
Traversal Policy - Policy for descending into entries known to be directory symlinks.
Functions§
- breadcrumb_
segments - Builds cumulative breadcrumb segments for a URI and optional base.
- dedupe_
file_ uris - Removes duplicate URIs while preserving first-occurrence order.
- file_
icon_ for_ entry - Chooses an icon from an entry’s kind, symlink target, and name.
- file_
icon_ for_ name - Chooses a Devicons glyph for a filename, with a generic-file fallback.
- file_
icon_ visual_ for_ entry - Chooses both icon and recommended tint for a filesystem entry.
- file_
icon_ visual_ for_ name - Chooses a filename glyph and its Devicons or fallback tint.
- file_
uri_ ancestors_ between - Returns the inclusive, root-to-target URI chain when
rootis an ancestor. - file_
uri_ is_ ancestor_ or_ self - Tests URI ancestry with scheme, authority, and path-component boundaries.
- file_
uri_ parent - Returns the lexical parent while preserving scheme and authority.
- flatten_
file_ nodes - Flattens roots and descendants whose exact branch URI is expanded.
- load_
file_ tree - Loads one provider-backed root into a recursive explorer snapshot.
- local_
file_ tree_ nodes - Synchronously snapshots a native directory with provider-neutral policies.
- sort_
file_ nodes - Sorts every sibling slice recursively, directories first then by name.