mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 11:41:41 +02:00
Fix naming consistency on storages module.
This commit is contained in:
parent
aa4c39395f
commit
5fc7dd95f7
6 changed files with 61 additions and 48 deletions
6
backend/vendor/storages/impl.clj
vendored
6
backend/vendor/storages/impl.clj
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue