Expand description
Local filesystem provider and native non-recursive watcher for ailloli_ui_fs.
LocalFileProvider performs synchronous host filesystem calls. The
exported source factory creates the worker-owned watcher used by
ailloli_ui_fs_runtime; neither layer adds sandboxing or path authorization.
§Examples
use ailloli_ui_fs::{FileProvider, FileUri};
use ailloli_ui_fs_local::LocalFileProvider;
let provider = LocalFileProvider::new();
let remote = FileUri::parse("sftp://host/file.txt")?;
assert!(provider.read_file(&remote).is_err());Structs§
- Local
File Provider - Stateless synchronous provider for
file:URIs on the host filesystem. - Local
File Tree Source - Worker-owned local source with non-recursive native directory watches.
- Local
File Tree Source Factory - Thread-safe factory configuring each worker-owned local source.
Constants§
- DEFAULT_
LOCAL_ FILE_ TREE_ MAX_ WATCHERS - Default maximum number of simultaneously watched local directories: 1,024.