- [ ] std::fs::canonicalize - path(path).canonicalize() - Returns the canonical, absolute form of a path with all intermediate components normalized and symbolic links resolved. |
- [ ] std::fs::copy - file(path).copy(target) - Copies the contents of one file to another. This function will also copy the permission bits of the original file to the destination file. |
- [x] std::fs::create_dir - dir(path).create() - Creates a new, empty directory at the provided path |
- [x] std::fs::create_dir_all - dir(path).create_all() - Recursively create a directory and all of its parent components if they are missing. |
- [ ] std::fs::hard_link - link(path)create() - Creates a new hard link on the filesystem. |
- [ ] std::fs::metadata - path(path).metadata() - Given a path, query the file system to get information about a file, directory, etc. |
- [ ] std::fs::read - file(path).reader().bytes() - Read the entire contents of a file into a bytes vector. |
- [x] std::fs::read_dir - dir(path).read() - Returns an iterator over the entries within a directory. |
- [ ] std::fs::read_link - link(path).read() - Reads a symbolic link, returning the file that the link points to. |
- [x] std::fs::read_to_string - file(path).reader().to_string() - Read the entire contents of a file into a string. |