Re-exports§
pub use remote::RemoteFsConfig;pub use remote::RemoteFsProvider;pub use sandbox::SandboxFsProvider;
Modules§
Structs§
Enums§
Traits§
Functions§
- canonicalize_
async - copy_
file - Copy a file from
fromtoto, truncating the destination when it exists. Returns the number of bytes written, matchingstd::fs::copy. - create_
dir_ all_ async - create_
dir_ async - current_
dir - current_
provider - Returns the currently installed provider.
- data_
chunk_ upload_ targets_ async - data_
manifest_ descriptor_ async - data_
upload_ chunk_ async - metadata_
async - read_
async - read_
dir_ async - read_
many_ async - read_
to_ string_ async - remove_
dir_ all_ async - remove_
dir_ async - remove_
file_ async - rename_
async - replace_
provider - Temporarily replace the active provider and return a guard that restores the previous provider when dropped. Useful for tests that need to install a mock filesystem without permanently mutating global state.
- set_
current_ dir - set_
provider - set_
readonly_ async - symlink_
metadata_ async - with_
provider_ override - Run a closure with the supplied provider installed, restoring the previous provider automatically afterwards.
- write_
async