plat/web_files.rs#
Source: lib/plat/web_files.rs
Worker-local virtual files. File codecs use their existing byte and streaming APIs;
durable storage is a separate asynchronous request confirmed by the browser host.
Files below /handles/ are the user's own files: the host keeps a FileSystemFileHandle for
each (web/handles.js) and every change is written back to it (web.rs write_back: write_file,
AtomicFile's commit, rename onto it, a File stream's sync and drop); imports never are.
fn cwd() -> StringCurrent browser virtual directory; it is unrelated to the host operating system.fn config_dir() -> Option<String>Configuration namespace in virtual storage.fn data_dir() -> Option<String>Application data namespace in virtual storage.fn cache_dir() -> Option<String>Cache namespace in virtual storage.fn temp_dir() -> Option<String>Temporary virtual namespace.fn home() -> Option<String>Home namespace for user documents imported or created in this app instance.fn drives() -> Vec<String>Browser virtual roots; no native drives are exposed.fn dev_ino(_path: &str) -> Option<(u64, u64)>Stable filesystem device/inode identity is not available in browser storage.