W3cubDocs

/Rust

Module fs

Available on Unix only.

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.
chrootNon-Fuchsia
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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/unix/fs/index.html