Module fs

1.0.0 ยท Source
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.
FileTypeExt
Unix-specific extensions for fs::FileType.
MetadataExt
Unix-specific extensions to fs::Metadata.
OpenOptionsExt
Unix-specific extensions to fs::OpenOptions.
PermissionsExt
Unix-specific extensions to fs::Permissions.
DirEntryExt2Experimental
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.
mkfifoExperimental
Create a FIFO special file at the specified path with the specified mode.