Walk a directory/Recursively: Difference between revisions
no edit summary
No edit summary |
Barbaneigro (talk | contribs) No edit summary |
||
Line 787:
dirEntries("", "*.d", SpanMode.breadth).writeln;
}</syntaxhighlight>
=={{header|Dart}}==
<syntaxhighlight lang="dart">
import 'dart:io' show Directory;
void main(List<String> args) {
var dir = Directory(args[0]);
dir.list(recursive: true, followLinks: false).forEach(
// perform any action on files/dirs
(x) => print(x),
);
}
</syntaxhighlight>
=={{header|Delphi}}==
{{libheader| System.IOUtils}}
|