const auto ignore = [".git/", ".gitignore"];
foreach(DirEntry e; getcwd.dirEntries(SpanMode.depth).filter!(a => !a.name.startsWith(ignore))) {
writeln(e.name);
}
-Byron
const auto ignore = [".git/", ".gitignore"];
foreach(DirEntry e; getcwd.dirEntries(SpanMode.depth).filter!(a => !a.name.startsWith(ignore))) {
writeln(e.name);
}
-Byron