vfs::PseudoDir
Summary
Inheritance
Inherits from: 
vfs::Node
    
      
        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
         
       | 
    
    
      
        Serve(fuchsia_io::Flags flags, fidl::ServerEnd< fuchsia_io::Directory > server_end, async_dispatcher_t *dispatcher) const 
       | 
      
         
          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 
    
   
    RemoveEntry
    zx_status_t RemoveEntry(
  const std::string & name
)
    
   
    RemoveEntry
    zx_status_t RemoveEntry(
  const std::string & name,
  const Node *node
)
    
   
    Serve
    zx_status_t Serve(
  fuchsia_io::Flags flags,
  fidl::ServerEnd< fuchsia_io::Directory > server_end,
  async_dispatcher_t *dispatcher
) const 
    
   
    ~PseudoDir
     ~PseudoDir() override
    
   
  
  
 
  
    
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-09-18 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-18 UTC."],[],[]]