[−][src]Module sgx_tstd::untrusted::fs
Filesystem manipulation operations.
Structs
File | A reference to an open file on the filesystem. |
FileType | A structure representing a type of file with accessors for each file type.
It is returned by |
Metadata | Metadata information about a file. |
OpenOptions | Options and flags which can be used to configure how a file is opened. |
Permissions | Representation of the various permissions on a file. |
Functions
canonicalize | Returns the canonical form of a path with all intermediate components normalized and symbolic links resolved. |
copy | Copies the contents of one file to another. This function will also copy the permission bits of the original file to the destination file. |
hard_link | Creates a new hard link on the filesystem. |
metadata | Given a path, query the file system to get information about a file, directory, etc. |
read | Read the entire contents of a file into a bytes vector. |
read_link | Reads a symbolic link, returning the file that the link points to. |
read_to_string | Read the entire contents of a file into a string. |
remove_file | Removes a file from the filesystem. |
rename | Rename a file or directory to a new name, replacing the original file if
|
set_permissions | Changes the permissions found on a file or a directory. |
soft_link | Creates a new symbolic link on the filesystem. |
symlink_metadata | Query the metadata about a file without following symlinks. |
write | Write a slice as the entire contents of a file. |