 (ns storages.fs
   "A local filesystem storage implementation."
   (:require [promesa.core :as p]
+            [clojure.java.io :as io]
             [executors.core :as exec]
             [storages.proto :as pt]
             [storages.impl :as impl])

    (with-open [^InputStream source (pt/-input-stream content)
                ^OutputStream dest (Files/newOutputStream fullpath
                                                          impl/open-opts)]
      (IOUtils/copy source dest)
      path)))

(defn- delete

           java.io.OutputStream
           java.net.URI
           java.nio.file.Path
           java.nio.file.Files))

(defn- normalize-path
  [^Path base ^Path path]
