pub fn scan(dir: &Path, no_ignore: bool) -> Result<Tree>
Scan dir, honoring ignore files unless no_ignore is set.
dir
no_ignore
Dotfiles are always included.