Expand description
FileSystem support
Re-exports§
pub use fsp::fsp_sf::DirectoryEntry;pub use fsp::fsp_sf::DirectoryEntryType;pub use fsp::fsp_sf::DirectoryOpenMode;pub use fsp::fsp_sf::FileAttribute;pub use fsp::fsp_sf::FileOpenMode;pub use fsp::fsp_sf::FileQueryRangeInfo;pub use fsp::fsp_sf::FileReadOption;pub use fsp::fsp_sf::FileTimeStampRaw;pub use fsp::fsp_sf::FileWriteOption;pub use fsp::fsp_sf::OperationId;pub use fsp::fsp_sf::QueryId;
Modules§
- rc
- FS-related result definitions
- subdir
- Helper object types for treating FS subdirectories as IPC filesystems
Structs§
- Directory
Accessor - Represents a wrapper type to simplify directory access
- File
Accessor - Represents a wrapper type to simplify file access, tracking the currently seek-ed location in the file.
- File
Open Option - Represents options for opening files
- Proxy
Directory - Represents a wrapper
Directoryimplementation to translate IPCIDirectoryClientobjects toDirectoryobjects. - Proxy
File - Represents a wrapper
Fileimplementation to translate IPCIFileClientobjects toFileobjects. - Proxy
File System - Represents a wrapper
FileSystemimplementation to translate IPCIFileSystemClientobjects toFileSystemobjects
Enums§
- Seek
From - Enumeration of possible methods to seek within an I/O object.
Traits§
- Directory
- Represents a directory.
- File
- Represents a file, abstracted from the IPC client API.
- File
System - Represents a filesystem.
- Write
- Blocking writer.
Functions§
- commit
- Commits on a filesystem
- convert_
file_ open_ mode_ to_ option - Converts a
FileOpenModeto aFileOpenOption - convert_
file_ open_ option_ to_ mode - Converts a
FileOpenOptionto aFileOpenMode - create_
directory - Creates a directory
- create_
file - Creates a file
- format_
path - Returns the
FileSystemand the processed path corresponding to a given path - get_
entry_ type - Gets a path’s
DirectoryEntryType - get_
file_ time_ stamp_ raw - Gets the
FileTimeStampRawof a file - get_
free_ space_ size - Gets the free space size at a given path
- get_
fspsrv_ session - Gets the global
IFileSystemProxyClientshared object used forfsp-srvsupport - get_
path_ filesystem - Returns the
FileSystemcorresponding to a given path - get_
total_ space_ size - Gets the total space size at a given path
- initialize_
fspsrv_ session - Initializes
fsp-srvsupport instantiating aFileSystemProxyServiceshared object - is_
fspsrv_ session_ initialized - Gets whether
fsp-srvsupport was initialized - mount
- Mounts a
FileSystem - mount_
fsp_ filesystem - Mounts an IPC
IFileSystemClient - mount_
sd_ card - Mounts the system’s SD card using
fsp-srvsupport - open_
directory - Opens a directory as a
DirectoryAccessor - open_
file - Opens a file as a
FileAccessor - query_
entry - Queries on a path
- remove_
children_ all - Deletes all the children files/directories inside a directory
- remove_
dir - Deletes a directory
- remove_
dir_ all - Deletes a directory and all its children files/directories
- remove_
file - Deletes a file
- rename
- Renames a file/directory
- rename_
directory - Renames a directory
- rename_
file - Renames a file
- set_
concatenation_ file_ attribute - Sets the “concatenation file” attribute on a file.
- unmount
- Unmounts a mounted filesystem
- unmount_
all - Unmounts all filesystems