blob: 5f68fd3f097e1ace5646a5887c110923f602c37a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.collection._
import java.nio.file.{Files, Paths}
import Main.{args, greeting}
object Main0{
def apply(s: String, greeting: String) = {
val resultPath = Paths.get(s)
Files.createDirectories(resultPath.getParent)
Files.write(resultPath, greeting.getBytes)
}
}
|