• (append-spit f content)
Like spit but appends to file.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/duck_streams.clj:265 top

(defn append-spit
  "Like spit but appends to file."
  [f content]
  (with-open [^PrintWriter w (append-writer f)]
    (.print w content)))
Vars in clojure.contrib.duck-streams/append-spit: defn with-open
Used in 0 other vars

Comments top

No comments for append-spit. Log in to add a comment.