 (ns boot.tmpdir
+  (:refer-clojure :exclude [time])
   (:require
     [clojure.java.io  :as io]
     [clojure.set      :as set]

  (mv      [this from-path to-path])
  (cp      [this src-file dest-tmpfile]))

(defrecord TmpFile [dir path id]
  ITmpFile
  (id   [this] id)
  (dir  [this] dir)
  (path [this] path)
  (file [this] (io/file dir path)))

(defrecord TmpDir [dir user input output]

  (id   [this])
  (dir  [this])
  (path [this])
  (time [this])
  (file [this]))

(defprotocol ITmpFileSet
