Public Vars

Back

write-lines (clj)

(source)

function

(write-lines path lines) (write-lines path lines {:keys [charset], :or {charset "utf-8"}, :as opts})
Writes `lines`, a seqable of strings to `path` via `java.nio.file.Files/write`. Supported options: * `:charset` (default `"utf-8"`) Supported open options: * `:create` (default `true`) * `:truncate-existing` (default `true`) * `:write` (default `true`) * `:append` (default `false`) * or any `java.nio.file.StandardOption`.

Examples