Module virtual_fs::ops

source ·
Expand description

Common FileSystem operations.

Statics§

Functions§

  • Copies the reference of a file from one file system to another
  • Copies the reference of a file from one file system to another
  • Make sure a directory (and all its parents) exist.
  • Creates a white out file which hides it from secondary file systems
  • Does this item exists?
  • Returns true if the path has been hidden by a whiteout file
  • Does this path refer to a directory?
  • Does this path refer to a file?
  • Returns true if the path is a whiteout file
  • Asynchronously read a file’s contents into memory.
  • Asynchronously read a file’s contents into memory as a string.
  • Removes a white out file from the primary
  • Update a file’s modification and access times, creating the file if it doesn’t already exist.
  • Recursively iterate over all paths inside a directory, ignoring any errors that may occur along the way.
  • Asynchronously write some bytes to a file.