markmv - v1.39.2
    Preparing search index...

    Function renderTreeAscii

    • Renders a tree node as an ASCII directory listing with box-drawing characters.

      Directory entries end with a slash; files carry a "(N words, M links)" annotation plus a "[N broken]" marker for files with broken internal links and an "[orphan]" marker for files no other scanned file links to. Directories cut off by max-depth render as "name/ ...".

      Parameters

      • root: TreeDirectoryNode

        Tree node to render, as produced by buildFileTree

      • rootLabel: string

        Label printed on the first line for the scan root

      Returns string

      The full rendering, one entry per line, without a trailing newline