How do I list all files in a subdirectory in scala?

Posted by Nick Fortescue on Stack Overflow See other posts from Stack Overflow or by Nick Fortescue
Published on 2010-04-14T13:21:06Z Indexed on 2010/04/14 13:23 UTC
Read the original article Hit count: 179

Filed under:

Is there a good "scala-esque" (I guess I mean functional) way of recursively listing files in a directory? What about matching a particular pattern?

For example recursively all files matching "a*.foo" in c:\temp.

© Stack Overflow or respective owner

Related posts about scala