Children

Search the contents of a directory and perform operations on the objects encountered

Filter Contents

      import scalax.file.{Path, PathMatcher}
      import scalax.file.PathMatcher._

      val path:Path = Path("/tmp/")
      val matcher: PathMatcher = path.matcher("S*")
      path.children (matcher).foreach (println _)

      path.children(IsFile).foreach (println _)