update-file
function
babashka.fs/update-file
(update-file [path f & xs] [path 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
No examples yet. Be the first to add one!