Available on Unix only.
Expand description
Unix-specific extensions to primitives in the std::fs module.
Traits§
- DirBuilderExt 
- Unix-specific extensions to fs::DirBuilder.
- DirEntryExt 
- Unix-specific extension methods for fs::DirEntry.
- FileExt
- Unix-specific extensions to fs::File.
- FileType Ext 
- Unix-specific extensions for fs::FileType.
- MetadataExt 
- Unix-specific extensions to fs::Metadata.
- OpenOptions Ext 
- Unix-specific extensions to fs::OpenOptions.
- PermissionsExt 
- Unix-specific extensions to fs::Permissions.
- DirEntryExt2 Experimental 
- Sealed Unix-specific extension methods for fs::DirEntry.
Functions§
- chown
- Change the owner and group of the specified path.
- chroot
- Change the root directory of the current process to the specified path.
- fchown
- Change the owner and group of the file referenced by the specified open file descriptor.
- lchown
- Change the owner and group of the specified path, without dereferencing symbolic links.
- symlink
- Creates a new symbolic link on the filesystem.