Skip to main content

listing_entries

Function listing_entries 

Source
pub fn listing_entries(entries: &[FileTreeEntry]) -> Vec<ListingEntry>
Expand description

Project the tree’s entries into the shape directory-listing-mode reads (DL.2’s shared local).

icon_byte is the byte length of the indent + marker, so the icon splices between the tree structure and the name rather than at the far left.