fn composite_format_entry(
    root: Rc<RefCell<dyn FileDirEntry>>,
    indent: usize
) -> String
Expand description

Helper function to format the specified entry for display. Returns the fully-built string ready for output.

Note: This is a recursive call.

Parameters

  • root

    The FileDirEntry object to format, including any children of the object.

  • indent

    The number of spaces to indent each line of the display.