This is the trivial-extract Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:55:58 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-extract
Extract .tar/.tar.gz/.zip files.
Fernando Borretti <eudoxiahp@gmail.com>
Fernando Borretti <eudoxiahp@gmail.com>
(GIT git@github.com:eudoxia0/trivial-extract.git)
MIT
# trivial-extract
[![Build Status](https://travis-ci.org/eudoxia0/trivial-extract.svg?branch=master)](https://travis-ci.org/eudoxia0/trivial-extract)
You have an archive. Maybe it’s a ‘.tar‘, or a ‘.tar.gz‘, or ‘.zip‘. You don’t
know and don’t care. You want its contents out.
When available, ‘trivial-extract‘ uses the native decompression utilities
(e.g. ‘tar‘, ‘unzip‘), which are usually faster than the Common Lisp versions.
# Usage
Contents are extracted to the file’s containing directory. All functions return
‘t‘ on success.
~~~lisp
;; Best effort, do what I mean
(trivial-extract:extract #p"~/path/to/file.{tar|tar.gz|zip}")
;; Content-specific
(trivial-extract:extract-tar #p"~/file.tar")
(trivial-extract:extract-gzip #p"~/file.tar.gz")
(trivial-extract:extract-zip #p"~/file.zip")
~~~
# License
Copyright (c) 2014-2015 Fernando Borretti (eudoxiahp@gmail.com)
Licensed under the MIT License.
0.1
archive
(system).
zip
(system).
deflate
(system).
which
(system).
cl-fad
(system).
uiop
(system).
alexandria
(system).
src
(module).
Modules are listed depth-first from the system components tree.
trivial-extract/src
trivial-extract
(system).
cl.lisp
(file).
native.lisp
(file).
trivial-extract.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-extract/trivial-extract.asd
trivial-extract/src/cl.lisp
trivial-extract/src/native.lisp
trivial-extract/src/trivial-extract.lisp
trivial-extract/trivial-extract.asd
trivial-extract
(system).
trivial-extract/src/cl.lisp
src
(module).
extract-gzip
(function).
extract-tar
(function).
extract-zip
(function).
gunzip
(function).
trivial-extract/src/native.lisp
src
(module).
extract-gzip
(function).
extract-tar
(function).
extract-zip
(function).
trivial-extract/src/trivial-extract.lisp
src
(module).
extract
(function).
extract-gzip
(function).
extract-tar
(function).
extract-zip
(function).
try-except
(macro).
Packages are listed by definition order.
trivial-extract
common-lisp
.
extract
(function).
extract-gzip
(function).
extract-tar
(function).
extract-zip
(function).
try-except
(macro).
trivial-extract.cl
Pure Common Lisp extraction.
common-lisp
.
extract-gzip
(function).
extract-tar
(function).
extract-zip
(function).
gunzip
(function).
trivial-extract.native
Decompression using native command line utilities.
common-lisp
.
extract-gzip
(function).
extract-tar
(function).
extract-zip
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Best-effort extraction.
Extract a .tar.gz file to its containing directory.
Extract a .tar.gz file to its containing directory.
Extract a .tar.gz file to its containing directory.
Extract a tarball to its containing directory.
Extract a tarball to its containing directory.
Extract a tarball to its containing directory.
Extract a .zip file to its containing directory.
Extract a .zip file to its containing directory.
Extract a .zip file to its containing directory.
Jump to: | E F G M T |
---|
Jump to: | E F G M T |
---|
Jump to: | C F M N P S T |
---|
Jump to: | C F M N P S T |
---|