Jump to content

Walk a directory/Recursively: Difference between revisions

no edit summary
No edit summary
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}}
3

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.