Skip to main content

Crate runmat_filesystem

Crate runmat_filesystem 

Source

Re-exports§

pub use remote::RemoteFsConfig;
pub use remote::RemoteFsProvider;
pub use sandbox::SandboxFsProvider;

Modules§

data_contract
remote
sandbox

Structs§

DirEntry
File
FsMetadata
NativeFsProvider
OpenFlags
OpenOptions
ProviderGuard
ReadManyEntry

Enums§

FsFileType

Traits§

FileHandle
FsProvider

Functions§

canonicalize_async
copy_file
Copy a file from from to to, truncating the destination when it exists. Returns the number of bytes written, matching std::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