Crate virtual_fs

source ·

Re-exports§

Modules§

  • Used for sharing references to the same file across multiple file systems, effectively this is a symbolic link without all the complex path redirection
  • Used for sharing references to the same file across multiple file systems, effectively this is a symbolic link without all the complex path redirection
  • Wraps a clonable Arc of a file system - in practice this is useful so you can pass clonable file systems with a Box<dyn FileSystem> to other interfaces
  • Used for /dev/zero - infinitely returns zero which is useful for commands like dd if=/dev/zero of=bigfile.img size=1G
  • Used for /dev/zero - infinitely returns zero which is useful for commands like dd if=/dev/zero of=bigfile.img size=1G
  • When no file system is used by a WebC then this is used as a placeholder - as the name suggests it always returns file not found.
  • filesystems ðŸ”’
  • NullFile is a special file for /dev/null, which returns 0 for all operations except writing.
  • ops ðŸ”’
    Common FileSystem operations.
  • overlay_fs ðŸ”’
  • Wraps a boxed file system with an implemented trait VirtualSystem - this is needed so that a Box<dyn VirtualFileSystem> can be wrapped in an Arc and shared - some of the interfaces pass around a Box<dyn VirtualFileSystem>
  • Used for /dev/zero - infinitely returns zero which is useful for commands like dd if=/dev/zero of=bigfile.img size=1G
  • Used for /dev/stdin, /dev/stdout, dev/stderr - returns a static file descriptor (0, 1, 2)
  • static_file ðŸ”’
  • Wraps the memory file system implementation - this has been enhanced to support mounting file systems, shared static files, readonly files, etc…
  • trace_fs ðŸ”’
  • Another implementation of the union that uses paths, its not as simple as TmpFs. not currently used but was used by the previoulsy implementation of Deploy - now using TmpFs
  • webc_volume_fs ðŸ”’
  • Used for /dev/zero - infinitely returns zero which is useful for commands like dd if=/dev/zero of=bigfile.img size=1G

Structs§

Enums§

  • Error type for external users
  • Determines the mode that stdio handlers will operate in

Traits§

Functions§

Type Aliases§