Walk a directory/Recursively: Difference between revisions
Content added Content deleted
(→{{header|UnixPipes}}: xargs) |
(→{{header|Scala}}: Seq.single does not exist in Scala 2.8.1) |
||
Line 1,364: | Line 1,364: | ||
def andTree : Iterable[File] = ( |
def andTree : Iterable[File] = ( |
||
Seq |
Seq(file) |
||
++ children.flatMap(child => new RichFile(child).andTree)) |
++ children.flatMap(child => new RichFile(child).andTree)) |
||
} |
} |