Fix naming consistency on storages module.

This commit is contained in:
Andrey Antukh 2016-11-22 21:41:12 +01:00
parent aa4c39395f
commit 5fc7dd95f7
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
6 changed files with 61 additions and 48 deletions

View file

@ -7,7 +7,7 @@
(ns storages.impl
"Implementation details and helpers."
(:require [storages.proto :as pt]
[storages.util :as util]
[storages.fs :as fs]
[buddy.core.codecs :as codecs]
[clojure.java.io :as io])
(:import java.io.File
@ -79,11 +79,11 @@
(defn- path->input-stream
[^Path path]
(Files/newInputStream path util/read-open-opts))
(Files/newInputStream path fs/read-open-opts))
(defn- path->output-stream
[^Path path]
(Files/newOutputStream path util/write-open-opts))
(Files/newOutputStream path fs/write-open-opts))
(extend-type Path
io/IOFactory