Public Vars

Back

update-file (clj)

(source)

function

(update-file file f & xs) (update-file file opts f & xs)
Updates the contents of text file `path` using `f` applied to old contents and `xs`. Returns the new contents. Options: * `:charset` - charset of file, default to "utf-8"

Examples