Walk a directory/Recursively: Difference between revisions

→‎{{header|Scala}}: Seq.single does not exist in Scala 2.8.1
(→‎{{header|Scala}}: Seq.single does not exist in Scala 2.8.1)
Line 1,364:
 
def andTree : Iterable[File] = (
Seq.single(file)
++ children.flatMap(child => new RichFile(child).andTree))
}
Anonymous user