Skip to main content

Module reader

Module reader 

Source
Expand description

Reading one directory level the way the explorer wants it: listed, ignore-filtered, and capped.

Exists so the worker thread and the synchronous headless path (--dump-frame, tests) run identical logic. Without it, ignore rules would silently apply in one and not the other, and the snapshot tests would be asserting something the app never does.

Structs§

DirReader
Lists directories on behalf of the tree, applying ignore rules as it goes.

Constants§

MAX_ENTRIES_PER_DIR
Entries materialised per directory level before we stop and summarise.