Functions for working with downloaded archives
Functions for working with downloaded archives
(extract is dest & [re])
Allows extracting an archive input stream (like a downloaded artifact) into a destination location. If a regular expression is given as third argument, only the files that match the regex are extracted.
Allows extracting an archive input stream (like a downloaded artifact) into a destination location. If a regular expression is given as third argument, only the files that match the regex are extracted.
(extract+read src pred)
Extracts the given source archive, and returns the contents of the first
file that matches predicate pred
, or nil
if there were no matches.
Extracts the given source archive, and returns the contents of the first file that matches predicate `pred`, or `nil` if there were no matches.
(list-files arch)
Lists files in the archive at given path
Lists files in the archive at given path
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close