Update sci
This commit is contained in:
parent
41ede17be0
commit
536b2ed570
2 changed files with 5 additions and 1 deletions
2
sci
2
sci
|
|
@ -1 +1 @@
|
||||||
Subproject commit c7c223a2318d5326747a60e5ac03a74b6c917a9b
|
Subproject commit 4d8d05096975a66be312ba2162d04fc53ca6b761
|
||||||
|
|
@ -15,8 +15,12 @@
|
||||||
_ (.setConnectTimeout conn 2000)
|
_ (.setConnectTimeout conn 2000)
|
||||||
_ (.setReadTimeout conn 2000)]
|
_ (.setReadTimeout conn 2000)]
|
||||||
(.connect conn)
|
(.connect conn)
|
||||||
|
(binding [*out* (io/writer System/out)]
|
||||||
|
(prn :before))
|
||||||
(with-open [is (.getInputStream conn)]
|
(with-open [is (.getInputStream conn)]
|
||||||
(io/copy is zip-file))
|
(io/copy is zip-file))
|
||||||
|
(binding [*out* (io/writer System/out)]
|
||||||
|
(prn :after))
|
||||||
(let [bb-file (io/file tmp-dir "bb-extracted")
|
(let [bb-file (io/file tmp-dir "bb-extracted")
|
||||||
fs (java.nio.file.FileSystems/newFileSystem (.toPath zip-file) nil)
|
fs (java.nio.file.FileSystems/newFileSystem (.toPath zip-file) nil)
|
||||||
to-extract (.getPath fs "bb" (into-array String []))]
|
to-extract (.getPath fs "bb" (into-array String []))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue