Public Vars

Back

gzip (clj)

(source)

function

(gzip source-file) (gzip source-file {:keys [dir out-file], :or {dir "."}})
Gzips `source-file` and writes the output to `dir/out-file`. If `out-file` is not provided, the `source-file` name with `.gz` appended is used. If `dir` is not provided, the current directory is used. Returns the created gzip file.

Examples