 
 
 (defn file-store
-  "Creates a new local file-based blobstore."
-  ([algorithm root] (FileBlobStore. algorithm (io/file root))))
+  "Creates a new local file-based blob store."
+  [algorithm root]
+  (FileBlobStore. algorithm
+                  (io/file root)))

(ns vault.store.file
  (:require
    [clojure.string :as string]
    [clojure.java.io :as io]
    [clojure.java.shell :as shell]
    [vault.blob :refer :all]
    [vault.store :refer :all]))


  (enumerate [this]
    (enumerate this {}))

  (enumerate [this opts]
    (->> (enumerate-files root)
         (map (partial file->blobref root))
         (select-blobrefs opts)))
