Expand description
Filesystem scanner that transforms a directory into source-neutral tree
data, lazily: scan walks only the top level, and each directory’s
contents come from a targeted depth-1 walk when it is expanded or when the
app’s background sweep reaches it. The targeted walk keeps full ignore
semantics — ignore::WalkBuilder’s standard filters read ignore files in
parent directories, so a lazily walked subdirectory honors the same rules
the eager scan did. Unreadable directories are reported through the
tree’s error list (banner + stderr on exit) instead of being skipped
silently.
Functions§
- scan
- Scan
dir’s top level, honoring ignore files unlessno_ignoreis set.