Liking cljdoc? Tell your friends :D

com.eldrix.trud.cache

Provides a simple caching mechanism for TRUD files.

Provides a simple caching mechanism for TRUD files.
raw docstring

download-urlclj

(download-url url target)
(download-url url target {:keys [show-progress? expected-size-bytes]})

Download a file from the URL to the target path. Parameters:

  • url : a string representation of a URL.
  • target : path to target.
  • options : optional : - :show-progress? : whether to print a progress bar - :expected-size-bytes : total bytes.
Download a file from the URL to the target path.
Parameters:
 - url     : a string representation of a URL.
 - target  : path to target.
 - options : optional :
             - :show-progress?      : whether to print a progress bar
             - :expected-size-bytes : total bytes.
sourceraw docstring

get-archive-fileclj

(get-archive-file dir release)
(get-archive-file dir release {:keys [_show-progress?] :as opts})

Get an archive file either from the cache or downloaded from TRUD. Returns result as a java.nio.file.Path.

Get an archive file either from the cache or downloaded from TRUD.
Returns result as a `java.nio.file.Path`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close