fs icon indicating copy to clipboard operation
fs copied to clipboard

added with-temp-dir macro

Open eranb opened this issue 8 years ago • 1 comments

might be useful

(me.raynes.fs/with-temp-dir [source target]
  (let [f (str source "/shuki.txt")
        t (str target "/shuki.txt")]
    (spit f "hello")
    (me.raynes.fs/rename f t)
    (slurp t)))

all temp folders will be deleted after execution

eranb avatar Mar 28 '17 13:03 eranb

This would be very useful when dealing with unzipping/re-zipping files (which is actually what i'm doing with .ods files right now)

boxxxie avatar Aug 07 '18 17:08 boxxxie