From: Antti Villberg Date: Fri, 5 Jan 2018 16:17:28 +0000 (+0200) Subject: write method to Files.scl X-Git-Tag: v1.43.0~136^2~636 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=48f7b5c094bf6898528e4b6c3d888053f6a75d0b write method to Files.scl refs #7707 Change-Id: I9c7e249461da388b94d3b12af48f17523cddddf5 --- diff --git a/bundles/org.simantics.scl.runtime/scl/Files.scl b/bundles/org.simantics.scl.runtime/scl/Files.scl index 6af9a1760..92fb8c528 100644 --- a/bundles/org.simantics.scl.runtime/scl/Files.scl +++ b/bundles/org.simantics.scl.runtime/scl/Files.scl @@ -113,6 +113,7 @@ importJava "java.nio.file.Files" where copyToOutputStream :: Path -> OutputStream -> Long readAllBytes :: Path -> Vector Byte + write :: Path -> Vector Byte -> Vector OpenOption -> () @JavaName readAllLines readAllLinesWithCharset :: Path -> Charset -> [String]