File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ more detailed information.
18
18
``` clojure
19
19
funcool/datoteka
20
20
{:git/tag " 4.0.0"
21
- :git/sha " 6e4b4c2 "
21
+ :git/sha " ce1cd56 "
22
22
:git/url " https://github.com/funcool/datoteka.git" }
23
23
```
24
24
Original file line number Diff line number Diff line change 234
234
(string? content)
235
235
(let [encoding (or (:encoding opts) " UTF-8" )
236
236
data (.getBytes ^String content ^String encoding)]
237
- (write data dst opts))
237
+ (write dst data opts))
238
238
239
239
:else
240
240
(with-open [^InputStream input (jio/make-input-stream content opts)]
244
244
(flush dst))))
245
245
246
246
(defn write-to-file
247
- [src dst & {:keys [close] :or {close true } :as opts}]
247
+ [dst content & {:as opts}]
248
248
(with-open [^OutputStream dst (jio/make-output-stream dst opts)]
249
- (write src dst opts)))
249
+ (write dst content opts)))
250
250
251
251
(defn skip
252
252
[input offset]
You can’t perform that action at this time.
0 commit comments