Module rustix::fs::abs

source ·
Expand description

POSIX-style filesystem functions which operate on bare paths.

Functions§

  • _readlink 🔒
  • access(path, access)—Tests permissions for a file or directory.
  • chmod(path, mode)—Sets file or directory permissions.
  • chown(path, owner, group)—Sets open file or directory ownership.
  • link(old_path, new_path)—Creates a hard link.
  • lstat(path)—Queries metadata for a file or directory, without following symlinks.
  • mkdir(path, mode)—Creates a directory.
  • open(path, oflags, mode)—Opens a file.
  • readlink(path)—Reads the contents of a symlink.
  • rename(old_path, new_path)—Renames a file or directory.
  • rmdir(path)—Removes a directory.
  • stat(path)—Queries metadata for a file or directory.
  • statfs—Queries filesystem metadata.
  • statvfs—Queries filesystem metadata, POSIX version.
  • symlink(old_path, new_path)—Creates a symlink.
  • unlink(path)—Unlinks a file.