vfs::PseudoDir

Summary

Inheritance

Inherits from: vfs::internal::Node

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, Node **out_node) const
zx_status_t
RemoveEntry(const std::string & name)
zx_status_t
RemoveEntry(const std::string & name, const 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,
  Node **out_node
) const 

PseudoDir

 PseudoDir()

RemoveEntry

zx_status_t RemoveEntry(
  const std::string & name
)

RemoveEntry

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

~PseudoDir

 ~PseudoDir() override