Module std::os::unix::fs

1.0.0· source · []
This is supported on Unix only.
Expand description

Unix-specific extensions to primitives in the std::fs module.

Traits

DirEntryExt2Experimental

Sealed Unix-specific extension methods for fs::DirEntry.

Unix-specific extensions to fs::DirBuilder.

Unix-specific extension methods for fs::DirEntry.

Unix-specific extensions to fs::File.

Unix-specific extensions for fs::FileType.

Unix-specific extensions to fs::Metadata.

Unix-specific extensions to fs::OpenOptions.

Unix-specific extensions to fs::Permissions.

Functions

chownExperimental

Change the owner and group of the specified path.

fchownExperimental

Change the owner and group of the file referenced by the specified open file descriptor.

lchownExperimental

Change the owner and group of the specified path, without dereferencing symbolic links.

Change the root directory of the current process to the specified path.

Creates a new symbolic link on the filesystem.