Crate cnfs

source ·
Expand description

CNFS Virtual file system abstraction

This virtual file system abstraction is written for CNSS Recruit 2024

Structs§

Enums§

Traits§

Functions§

  • Close a file.
  • Create a directory at the given path.
  • Check if the path points at an existing file or directory.
  • Mount a filesystem at the given path.
  • Opens a file at path with the given mode.
  • Read a file into a slice.
  • Read the entire contents of a file into a slice.
  • Remove a file or directory at the given path.
  • Mount the filesystem at the given path.
  • Write a slice as the entire contents of a file.

Type Aliases§