Liking cljdoc? Tell your friends :D

me.raynes.fs.compression

Compression utilities.

Compression utilities.
raw docstring

bunzip2clj

(bunzip2 source)
(bunzip2 source target)

Takes a path to a bzip2 file source and uncompresses it.

Takes a path to a bzip2 file source and uncompresses it.
raw docstring

gunzipclj

(gunzip source)
(gunzip source target)

Takes a path to a gzip file source and unzips it.

Takes a path to a gzip file source and unzips it.
raw docstring

make-zip-streamclj

(make-zip-stream & filename-content-pairs)

Create zip file(s) stream. You must provide a vector of the following form: [[filename1 content1][filename2 content2]...].

You can provide either strings or byte-arrays as content.

The piped streams are used to create content on the fly, which means this can be used to make compressed files without even writing them to disk.

Create zip file(s) stream. You must provide a vector of the
following form: [[filename1 content1][filename2 content2]...].

You can provide either strings or byte-arrays as content.

The piped streams are used to create content on the fly, which means
this can be used to make compressed files without even writing them
to disk.
raw docstring

untarclj

(untar source)
(untar source target)

Takes a tarfile source and untars it to target.

Takes a tarfile source and untars it to target.
raw docstring

unxzclj

(unxz source)
(unxz source target)

Takes a path to a xz file source and uncompresses it.

Takes a path to a xz file source and uncompresses it.
raw docstring

unzipclj

(unzip source)
(unzip source target-dir)

Takes the path to a zipfile source and unzips it to target-dir.

Takes the path to a zipfile source and unzips it to target-dir.
raw docstring

zipclj

(zip filename & filename-content-pairs)

Create zip file(s) on the fly. You must provide a vector of the following form: [[filename1 content1][filename2 content2]...].

You can provide either strings or byte-arrays as content.

Create zip file(s) on the fly. You must provide a vector of the
following form: [[filename1 content1][filename2 content2]...].

You can provide either strings or byte-arrays as content.
raw docstring

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

× close