Crate afs Copy item path Source dir This module includes additional methods for working with directories. error The error type for fs_extra operations on files and directories. file This module includes additional methods for working with files. os OS-specific functionality. DirEntry Wrapper around std::fs::DirEntry which adds more
helpful information to all errors. File Wrapper around std::fs::File which adds more helpful
information to all errors. OpenOptions Wrapper around std::fs::OpenOptions ReadDir Wrapper around std::fs::ReadDir which adds more
helpful information to all errors. TransitProcess A structure which includes information about the current status of copying or moving a directory. AfsError PathExt Defines aliases on Path for fs_err functions. append_file append_file_sync basename canonicalize Returns the canonical, absolute form of a path with all intermediate components
normalized and symbolic links resolved. chmod_sync 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. copy_items Copies a list of directories and files to another place recursively. This function will
also copy the permission bits of the original files to destination files (not for
directories). copy_items_with_progress Copies a list of directories and files to another place recursively, with
information about progress. This function will also copy the permission bits of the
original files to destination files (not for directories). create_dir Creates a new, empty directory at the provided path. create_dir_all Recursively create a directory and all of its parent components if they are missing. create_file_sync create_tempdir create_tempfile dir_exists dirname diskusage exists exists_sync file_exists filename get_dir_size get_file_real_size get_file_size get_filepath hard_link Creates a new hard link on the filesystem. hash hash_sync is_dir is_dir_sync is_file is_file_sync is_symlink is_symlink_sync metadata Given a path, query the file system to get information about a file, directory, etc. mkdir mkdir_sync move_items Moves a list of directories and files to another place recursively. This function will
also copy the permission bits of the original files to destination files (not for
directories). move_items_with_progress Moves a list of directories and files to another place recursively, with
information about progress. This function will also copy the permission bits of the
original files to destination files (not for directories). normalize_path read Read the entire contents of a file into a bytes vector. read_dir Returns an iterator over the entries within a directory. read_file read_file_sync read_from_json read_json 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_dir Removes an empty directory. remove_dir_all Removes a directory at this path, after removing all its contents. Use carefully! remove_file Removes a file from the filesystem. remove_items Removes a list of files or directories. rename Rename a file or directory to a new name, replacing the original file if to already exists. resolve rmdir rmdir_sync set_permissions Changes the permissions found on a file or a directory. soft_link stat stat_sync symlink_metadata Query the metadata about a file without following symlinks. unlink_sync which write Write a slice as the entire contents of a file. write_file write_file_sync write_to_json AfsResult AnyResult