/// Lists directory entries from the directory that is the given Inode.
///
/// Errors if the Inode does not map to a Directory.
Lists directory entries from the directory that is the given Inode.
Errors if the Inode does not map to a Directory.
Lists directory entries from the directory that is the given Inode . Errors if the Inode does not map to a Directory .
pub fn entries_from_inode(
        &self,
        inode: &Arc<INode>,
    ) -> Result<Vec<Arc<DirEntry2>>, ParsingError> {
        let root_extent_tree_node = inode.extent_tree_node()?;
        let mut dir_entries = Vec::new();
        self.iterate_extents_in_tree(&root_extent_tree_node, &mut |extent| {
            self.read_dir_entries(extent, &mut dir_entries)
        })?;
        Ok(dir_entries)
    }
pub fn entries_from_inode ( & self , inode : & Arc < INode > , ) -> Result < Vec < Arc < DirEntry2 > > , ParsingError > { let root_extent_tree_node = inode . extent_tree_node ( ) ? ; let mut dir_entries = Vec :: new ( ) ; self . iterate_extents_in_tree ( & root_extent_tree_node , & mut | extent | { self . read_dir_entries ( extent , & mut dir_entries ) } ) ? ; Ok ( dir_entries ) }
Lists directory entries from the directory that is the given Inode.
Lists directory entries from the directory that is the given Inode .
&self
inode
&Arc<INode>