vfs::LazyDir


This is an abstract class.

Summary

Inheritance

Inherits from: vfs::internal::Directory

Constructors and Destructors

LazyDir()
~LazyDir()

Public types

LazyEntryVector using
std::vector< LazyEntry >

Public attributes

ZX_DEPRECATED_SINCE

Public functions

GetAttr(fuchsia::io::NodeAttributes *out_attributes) const override
zx_status_t
Lookup(std::string_view name, 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

Protected functions

GetContents(LazyEntryVector *out_vector) const =0
virtual void
GetFile(Node **out_node, uint64_t id, std::string name) const =0
virtual zx_status_t
GetStartingId() const
uint64_t

Structs

vfs::LazyDir::LazyEntry

Public types

LazyEntryVector

std::vector< LazyEntry > LazyEntryVector

Public attributes

ZX_DEPRECATED_SINCE

struct vfs::LazyDir::LazyEntry ZX_DEPRECATED_SINCE

Public functions

GetAttr

zx_status_t GetAttr(
  fuchsia::io::NodeAttributes *out_attributes
) const override

LazyDir

 LazyDir()

Lookup

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

Readdir

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

~LazyDir

 ~LazyDir() override

Protected functions

GetContents

virtual void GetContents(
  LazyEntryVector *out_vector
) const =0

GetFile

virtual zx_status_t GetFile(
  Node **out_node,
  uint64_t id,
  std::string name
) const =0

GetStartingId

uint64_t GetStartingId() const