vfs::PseudoDir

Summary

Inheritance

Inherits from: vfs::internal::Directory

Constructors and Destructors

PseudoDir()
~PseudoDir()

Public functions

AddEntry(std::string name, std::unique_ptr< Node > vn)
zx_status_t
AddSharedEntry(std::string name, std::shared_ptr< Node > vn)
zx_status_t
IsEmpty() const
bool
Lookup(std::string_view name, vfs::internal::Node **out_node) const final
zx_status_t
Readdir(uint64_t offset, void *data, uint64_t len, uint64_t *out_offset, uint64_t *out_actual) override
zx_status_t
RemoveEntry(const std::string & name)
zx_status_t
RemoveEntry(const std::string & name, Node *node)
zx_status_t

Public functions

AddEntry

zx_status_t AddEntry(
  std::string name,
  std::unique_ptr< Node > vn
)

AddSharedEntry

zx_status_t AddSharedEntry(
  std::string name,
  std::shared_ptr< Node > vn
)

IsEmpty

bool IsEmpty() const 

Lookup

zx_status_t Lookup(
  std::string_view name,
  vfs::internal::Node **out_node
) const final

PseudoDir

 PseudoDir()

Readdir

zx_status_t Readdir(
  uint64_t offset,
  void *data,
  uint64_t len,
  uint64_t *out_offset,
  uint64_t *out_actual
) override

RemoveEntry

zx_status_t RemoveEntry(
  const std::string & name
)

RemoveEntry

zx_status_t RemoveEntry(
  const std::string & name,
  Node *node
)

~PseudoDir

 ~PseudoDir() override