pub fn scan(dir: &Path, no_ignore: bool) -> Result<Tree>
Scan dir’s top level, honoring ignore files unless no_ignore is set.
dir
no_ignore
Dotfiles are always included. Deeper directories materialize on demand.