Module vfs::file

source ·
Expand description

Module holding different kinds of files and their building blocks.

Re-exports§

Modules§

  • Common utilities used by pseudo-file related tests.
  • File nodes backed by VMOs. Implementation of a file backed by a VMO buffer shared by all the file connections.

Structs§

  • FileOptions include options that are relevant after the file has been opened. Flags like TRUNCATE, which only applies during open time, are not included.

Enums§

Traits§

  • Trait used for all files.
  • Trait for dispatching read, write, and seek FIDL requests for a given connection. The implementater of this trait is responsible for maintaning the per connection state.

Functions§

  • Helper to open a file or node as required.