Improve storage recheck task and add more specs.

This commit is contained in:
Andrey Antukh 2021-01-25 16:14:54 +01:00 committed by Hirunatan
parent 340d1d43be
commit a69a35a0b6
3 changed files with 36 additions and 5 deletions

View file

@ -165,6 +165,9 @@
(instance? String data)
(string->content data)
(bytes? data)
(input-stream->content (ByteArrayInputStream. ^bytes data) (alength data))
(instance? InputStream data)
(do
(when-not size