I am trying to use startsWith with an array of needles. Failes with not being able to match any functions. Not sure if there is a work around.

const auto ignore = [".git/", ".gitignore"];

foreach(DirEntry e; getcwd.dirEntries(SpanMode.depth).filter!(a => !a.name.startsWith(ignore))) {
                writeln(e.name);
        }


-Byron

Reply via email to