The tar-file Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The tar-file Reference Manual

This is the tar-file Reference Manual, version 0.2.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Sun May 15 04:13:35 2022 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

This project provides functionality to read and write a variety of tar archive formats. Currently supported are the POSIX ustar, PAX (ustar with a few new entry types), GNU, and v7 (very old) formats.

This project is rather low level and is focused exclusively on reading and writing physical tar file entries using streams. Therefore, it contains no functionality to automatically build archives from a set of files on the filesystem or write the contents of a file to the filesystem. Additionally, there are no smarts that read multiple physical entries and combine them into a single logical entry (e.g., with PAX extended headers or GNU long link/path name support). This approach is taken to both improve portability (the CL spec has no facility for things like detecting symlinks or modifying/reading file owners, etc.) and properly separate concerns.

For a higher level library that reads and writes logical entries, as well as includes file system integration, see cl-tar.

This project is a fork of Nathan Froyd's archive library. Much code remains, but the non-portable bits have been stripped, better support for multiple archive types (and autodetection) has been added, better blocking support added (tar readers/writers are supposed to read/write in multiples of 512 bytes), cpio support removed, and a test suite added, along with other miscellaneous fixes and improvements.

One major user visible difference between this library and the original archive is that there is no need to discard entries when you are finished with them and support has been added for seeking within a stream (using FILE-POSITION under the hood). This means you can do something like iterate over all entries in one go and then get a stream containing the contents of an arbitrary entry.

However, care must be taken if you hop around in a tar file as it will only work if the underlying stream containing the tar archive is seekable. Typically, streams backed by files are seekable, but all other input streams (including stdin) are not. Therefore if there is any chance your code that uses tar-file will read files from non-seekable streams, you should process entries sequentially and completely before moving on to the next one. Alternatively, you can set the blocking factor high enough that the entire file is read into memory at once (yikes!).


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 tar-file

Maintainer

Eric Timmons <eric@timmons.dev>

Author

Eric Timmons <eric@timmons.dev>

License

BSD-style (http://opensource.org/licenses/BSD-3-Clause)

Description

A system for reading and writing physical entries from/to tar files.

Version

0.2.1

Dependencies
Source

tar-file.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 tar-file.asd

Location

/home/quickref/quicklisp/dists/quicklisp/software/cl-tar-file-20220220-git/tar-file.asd

Systems

tar-file (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 tar-file/blocked-stream.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

blocked-stream.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 tar-file/bounded-stream.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

bounded-stream.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 tar-file/buffer-ops.lisp

Dependencies
Parent

tar-file (system)

Location

buffer-ops.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 tar-file/conditions.lisp

Dependencies
Parent

tar-file (system)

Location

conditions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 tar-file/constants.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

constants.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 tar-file/docs.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

docs.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 tar-file/entry.lisp

Dependencies
Parent

tar-file (system)

Location

entry.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 tar-file/external-macros.lisp

Dependencies
Parent

tar-file (system)

Location

external-macros.lisp

Exported Definitions
Internal Definitions

call-with-open-tar-file (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 tar-file/generics.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

generics.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.11 tar-file/gnu.lisp

Dependencies
Parent

tar-file (system)

Location

gnu.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.12 tar-file/macros.lisp

Dependency

generics.lisp (file)

Parent

tar-file (system)

Location

macros.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.13 tar-file/package.lisp

Parent

tar-file (system)

Location

package.lisp

Packages

tar-file


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.14 tar-file/peeking-stream.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

peeking-stream.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.15 tar-file/tar-file.lisp

Dependencies
Parent

tar-file (system)

Location

tar-file.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.16 tar-file/utils.lisp

Dependency

package.lisp (file)

Parent

tar-file (system)

Location

utils.lisp

Exported Definitions

*default-header-encoding* (special variable)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.17 tar-file/ustar.lisp

Dependencies
Parent

tar-file (system)

Location

ustar.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.18 tar-file/v7.lisp

Dependencies
Parent

tar-file (system)

Location

v7.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 tar-file

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *default-header-encoding*

The default encoding to use for strings read from/written to tar headers. Must be recognized by Babel.

Package

tar-file

Source

utils.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: do-attributes (NAME VALUE ENTRY &optional RESULT) &body BODY

Given a PAX ENTRY with attributes, execute BODY for every attribute, with NAME bound to the attribute name and VALUE bound to the attribute value.

Package

tar-file

Source

entry.lisp (file)

Macro: do-entries (ENTRY TAR-FILE &optional RESULT) &body BODY

Iterate over the entries in TAR-FILE. For each entry, ENTRY is bound to an ENTRY representing the entry. RESULT is used as in DOTIMES.

Package

tar-file

Source

external-macros.lisp (file)

Macro: with-open-tar-file (TAR-FILE-VAR PATHNAME-OR-STREAM &key DIRECTION IF-EXISTS IF-DOES-NOT-EXIST TYPE COMPRESSION BLOCKING-FACTOR HEADER-ENCODING) &body BODY

Bind TAR-FILE-VAR to a newly opened TAR-FILE, backed by
PATHNAME-OR-STREAM. If PATHNAME-OR-STREAM evaluates to a stream, that stream is used directly, otherwise, it is opened via OPEN. If PATHNAME-OR-STREAM is a stream, that stream is not closed upon exiting the body of the macro.

DIRECTION must be either :INPUT or :OUTPUT.

IF-EXISTS and IF-DOES-NOT-EXIST are passed to OPEN if PATHNAME-OR-STREAM is not a stream.

See OPEN-TAR-FILE for a description of TYPE, BLOCKING-FACTOR, HEADER-ENCODING, and COMPRESSION.

Package

tar-file

Source

external-macros.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: open-tar-file STREAM &key DIRECTION TYPE BLOCKING-FACTOR HEADER-ENCODING COMPRESSION

Create a TAR-FILE object backed by STREAM. The STREAM should not be read from or written to any more.

DIRECTION is either :INPUT or :OUTPUT.

BLOCKING-FACTOR is an integer that specifies how many 512-byte blocks should be read from or written to STREAM at any one time.

TYPE is either AUTO or a class designator for a subclass of TAR-FILE. If :AUTO, the appropriate class will be determined by looking at the first tar header.

HEADER-ENCODING is an encoding specifier recognized by Babel.

COMPRESSION determines what compression scheme is used, if any. It can be either :AUTO (the default), NIL (no compression), or :GZIP. If :AUTO, the compression type is determined using the PATHNAME of the stream (for :OUTPUT) or by peeking at the stream for magic numbers (for :INPUT).

Package

tar-file

Source

tar-file.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Generic functions

Generic Function: atime ENTRY

Return the atime of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf atime) (generic function)

Methods
Method: atime (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: atime (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf atime) NEW-VALUE OBJECT
Package

tar-file

Reader

atime (generic function)

Methods
Method: (setf atime) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: attribute ENTRY NAME &optional DEFAULT

Get the NAME attribute from ENTRY.

Package

tar-file

Source

entry.lisp (file)

Methods
Method: attribute (ENTRY pax-attributes-entry) NAME &optional DEFAULT
Generic Function: attribute-names ENTRY

Return a list of attribute names contained within ENTRY.

Package

tar-file

Source

entry.lisp (file)

Methods
Method: attribute-names (ENTRY pax-attributes-entry)
Generic Function: close-tar-file TAR-FILE

Closes the stream associated with TAR-FILE and the tar-file itself. Further operations on the tar-file are undefined.

Does NOT close the underlying STREAM that backed the TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: close-tar-file TAR-FILE
Source

tar-file.lisp (file)

Generic Function: ctime ENTRY

Return the ctime of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf ctime) (generic function)

Methods
Method: ctime (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: ctime (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf ctime) NEW-VALUE OBJECT
Package

tar-file

Reader

ctime (generic function)

Methods
Method: (setf ctime) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: devmajor ENTRY

Return the major device of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf devmajor) (generic function)

Methods
Method: devmajor (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: devmajor (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: devmajor (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf devmajor) NEW-VALUE OBJECT
Package

tar-file

Reader

devmajor (generic function)

Methods
Method: (setf devmajor) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf devmajor) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: devminor ENTRY

Return the minor device of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf devminor) (generic function)

Methods
Method: devminor (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: devminor (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: devminor (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf devminor) NEW-VALUE OBJECT
Package

tar-file

Reader

devminor (generic function)

Methods
Method: (setf devminor) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf devminor) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: entry-block-device-p ENTRY

Returns non-NIL if ENTRY denotes a block device.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-block-device-p (ENTRY block-device-entry)
Source

entry.lisp (file)

Method: entry-block-device-p ENTRY
Generic Function: entry-character-device-p ENTRY

Returns non-NIL if ENTRY denotes a character device.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-character-device-p (ENTRY character-device-entry)
Source

entry.lisp (file)

Method: entry-character-device-p ENTRY
Generic Function: entry-directory-p ENTRY

Returns non-NIL if ENTRY denotes a directory.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-directory-p (ENTRY directory-entry)
Source

entry.lisp (file)

Method: entry-directory-p ENTRY
Generic Function: entry-fifo-p ENTRY

Returns non-NIL if ENTRY denotes a fifo.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-fifo-p (ENTRY fifo-entry)
Source

entry.lisp (file)

Method: entry-fifo-p ENTRY
Generic Function: entry-file-p ENTRY

Returns non-NIL if ENTRY denotes a regular file.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-file-p (ENTRY file-entry)
Source

entry.lisp (file)

Method: entry-file-p ENTRY
Generic Function: entry-gnu-directory-dump-p ENTRY

Returns non-NIL if ENTRY contains a GNU directory dump.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-gnu-directory-dump-p (ENTRY gnu-directory-dump-entry)
Source

entry.lisp (file)

Method: entry-gnu-directory-dump-p ENTRY
Generic Function: entry-gnu-long-link-name-p ENTRY

Returns non-NIL if ENTRY contains a GNU long link name.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-gnu-long-link-name-p (ENTRY gnu-long-link-name-entry)
Source

entry.lisp (file)

Method: entry-gnu-long-link-name-p ENTRY
Generic Function: entry-gnu-long-name-p ENTRY

Returns non-NIL if ENTRY contains a GNU long name.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-gnu-long-name-p (ENTRY gnu-long-name-entry)
Source

entry.lisp (file)

Method: entry-gnu-long-name-p ENTRY
Generic Function: entry-gnu-sparse-file-p ENTRY

Returns non-NIL if ENTRY contains a GNU sparse file.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-gnu-sparse-file-p (ENTRY gnu-sparse-file-entry)
Source

entry.lisp (file)

Method: entry-gnu-sparse-file-p ENTRY
Generic Function: entry-gnu-volume-header-name-p ENTRY

Returns non-NIL if ENTRY contains a GNU volume header name.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-gnu-volume-header-name-p (ENTRY gnu-volume-header-name-entry)
Source

entry.lisp (file)

Method: entry-gnu-volume-header-name-p ENTRY
Generic Function: entry-hard-link-p ENTRY
Package

tar-file

Methods
Method: entry-hard-link-p (ENTRY hard-link-entry)
Source

entry.lisp (file)

Generic Function: entry-has-data-p ENTRY

Returns non-NIL if ENTRY has associated data that can be read using MAKE-ENTRY-STREAM.

Package

tar-file

Source

entry.lisp (file)

Methods
Method: entry-has-data-p ENTRY
Method: entry-has-data-p (ENTRY has-data-mixin)
Generic Function: entry-pax-extended-attributes-p ENTRY

Returns non-NIL if ENTRY contains PAX extended attributes.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-pax-extended-attributes-p (ENTRY pax-extended-attributes-entry)
Source

entry.lisp (file)

Method: entry-pax-extended-attributes-p ENTRY
Generic Function: entry-pax-global-attributes-p ENTRY

Returns non-NIL if ENTRY contains PAX global attributes.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-pax-global-attributes-p (ENTRY pax-global-attributes-entry)
Source

entry.lisp (file)

Method: entry-pax-global-attributes-p ENTRY
Generic Function: entry-symbolic-link-p ENTRY

Returns non-NIL if ENTRY denotes a symbolic link.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-symbolic-link-p (ENTRY symbolic-link-entry)
Source

entry.lisp (file)

Method: entry-symbolic-link-p ENTRY
Generic Function: entry-type TAR-FILE HEADER

Return a symbol naming the class to use to represent the entry for HEADER in TAR-FILE.

Package

tar-file

Source

tar-file.lisp (file)

Methods
Method: entry-type (TAR-FILE v7-tar-file) HEADER
Source

v7.lisp (file)

Method: entry-type (TAR-FILE ustar-tar-file) HEADER
Source

ustar.lisp (file)

Method: entry-type (TAR-FILE gnu-tar-file) HEADER
Source

gnu.lisp (file)

Generic Function: entry-unknown-p ENTRY

Returns non-NIL if ENTRY is unknown.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: entry-unknown-p (ENTRY unknown-entry)
Source

entry.lisp (file)

Method: entry-unknown-p ENTRY
Generic Function: finalize-tar-file TAR-FILE

Perform any necessary processing for finalizing TAR-FILE. This function must be called prior to calling CLOSE-TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: finalize-tar-file (TAR-FILE tar-file)
Source

tar-file.lisp (file)

Generic Function: gid ENTRY

Return the gid of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf gid) (generic function)

Methods
Method: gid (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: gid (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: gid (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: gid (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf gid) NEW-VALUE OBJECT
Package

tar-file

Reader

gid (generic function)

Methods
Method: (setf gid) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf gid) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf gid) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: gname ENTRY

Return the gname of the ENTRY (a string).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf gname) (generic function)

Methods
Method: gname (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: gname (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: gname (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf gname) NEW-VALUE OBJECT
Package

tar-file

Reader

gname (generic function)

Methods
Method: (setf gname) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf gname) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: isextended ENTRY

Return the isextended field of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf isextended) (generic function)

Methods
Method: isextended (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: isextended (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf isextended) NEW-VALUE OBJECT
Package

tar-file

Reader

isextended (generic function)

Methods
Method: (setf isextended) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: linkname ENTRY

Return the linkname of the ENTRY (a string).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf linkname) (generic function)

Methods
Method: linkname (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: linkname (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: linkname (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: linkname (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf linkname) NEW-VALUE OBJECT
Package

tar-file

Reader

linkname (generic function)

Methods
Method: (setf linkname) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf linkname) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf linkname) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: make-entry-stream ENTRY

Returns a new binary stream that contains ENTRY’s data.

Package

tar-file

Source

entry.lisp (file)

Methods
Method: make-entry-stream (ENTRY has-data-mixin)
Generic Function: mode ENTRY

Return the mode of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf mode) (generic function)

Methods
Method: mode (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: mode (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: mode (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: mode (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf mode) NEW-VALUE OBJECT
Package

tar-file

Reader

mode (generic function)

Methods
Method: (setf mode) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf mode) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf mode) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: mtime ENTRY

Return the mtime of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf mtime) (generic function)

Methods
Method: mtime (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: mtime (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: mtime (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: mtime (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf mtime) NEW-VALUE OBJECT
Package

tar-file

Reader

mtime (generic function)

Methods
Method: (setf mtime) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf mtime) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf mtime) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: name ENTRY

Return the name of the ENTRY (a string).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf name) (generic function)

Methods
Method: name (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: name (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: name (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: name (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf name) NEW-VALUE OBJECT
Package

tar-file

Reader

name (generic function)

Methods
Method: (setf name) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf name) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf name) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: numbytes-sparse-0 ENTRY

Return the numbytes of the first sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf numbytes-sparse-0) (generic function)

Methods
Method: numbytes-sparse-0 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: numbytes-sparse-0 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf numbytes-sparse-0) NEW-VALUE OBJECT
Package

tar-file

Reader

numbytes-sparse-0 (generic function)

Methods
Method: (setf numbytes-sparse-0) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: numbytes-sparse-1 ENTRY

Return the numbytes of the second sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf numbytes-sparse-1) (generic function)

Methods
Method: numbytes-sparse-1 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: numbytes-sparse-1 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf numbytes-sparse-1) NEW-VALUE OBJECT
Package

tar-file

Reader

numbytes-sparse-1 (generic function)

Methods
Method: (setf numbytes-sparse-1) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: numbytes-sparse-2 ENTRY

Return the numbytes of the third sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf numbytes-sparse-2) (generic function)

Methods
Method: numbytes-sparse-2 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: numbytes-sparse-2 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf numbytes-sparse-2) NEW-VALUE OBJECT
Package

tar-file

Reader

numbytes-sparse-2 (generic function)

Methods
Method: (setf numbytes-sparse-2) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: offset ENTRY

Return the offset of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf offset) (generic function)

Methods
Method: offset (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: offset (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf offset) NEW-VALUE OBJECT
Package

tar-file

Reader

offset (generic function)

Methods
Method: (setf offset) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: offset-sparse-0 ENTRY

Return the offset of the first sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf offset-sparse-0) (generic function)

Methods
Method: offset-sparse-0 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: offset-sparse-0 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf offset-sparse-0) NEW-VALUE OBJECT
Package

tar-file

Reader

offset-sparse-0 (generic function)

Methods
Method: (setf offset-sparse-0) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: offset-sparse-1 ENTRY

Return the offset of the second sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf offset-sparse-1) (generic function)

Methods
Method: offset-sparse-1 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: offset-sparse-1 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf offset-sparse-1) NEW-VALUE OBJECT
Package

tar-file

Reader

offset-sparse-1 (generic function)

Methods
Method: (setf offset-sparse-1) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: offset-sparse-2 ENTRY

Return the offset of the third sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf offset-sparse-2) (generic function)

Methods
Method: offset-sparse-2 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: offset-sparse-2 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf offset-sparse-2) NEW-VALUE OBJECT
Package

tar-file

Reader

offset-sparse-2 (generic function)

Methods
Method: (setf offset-sparse-2) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: offset-sparse-3 ENTRY

Return the offset of the fourth sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf offset-sparse-3) (generic function)

Methods
Method: offset-sparse-3 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: offset-sparse-3 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf offset-sparse-3) NEW-VALUE OBJECT
Package

tar-file

Reader

offset-sparse-3 (generic function)

Methods
Method: (setf offset-sparse-3) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: prefix ENTRY

Return the prefix of the ENTRY (a string).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf prefix) (generic function)

Methods
Method: prefix (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: prefix (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf prefix) NEW-VALUE OBJECT
Package

tar-file

Reader

prefix (generic function)

Methods
Method: (setf prefix) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Generic Function: read-entry TAR-FILE

Return the next entry in TAR-FILE or NIL if there is no next entry

Package

tar-file

Source

generics.lisp (file)

Methods
Method: read-entry (TAR-FILE tar-file) around
Source

tar-file.lisp (file)

Method: read-entry (TAR-FILE tar-file)
Source

tar-file.lisp (file)

Method: read-entry (TAR-FILE tar-file) before
Source

tar-file.lisp (file)

Generic Function: realsize ENTRY

Return the realsize of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf realsize) (generic function)

Methods
Method: realsize (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: realsize (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf realsize) NEW-VALUE OBJECT
Package

tar-file

Reader

realsize (generic function)

Methods
Method: (setf realsize) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: size ENTRY

Return the size of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf size) (generic function)

Methods
Method: size (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: size (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: size (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: size (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf size) NEW-VALUE OBJECT
Package

tar-file

Reader

size (generic function)

Methods
Method: (setf size) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf size) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf size) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: uid ENTRY

Return the uid of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf uid) (generic function)

Methods
Method: uid (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: uid (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: uid (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: uid (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf uid) NEW-VALUE OBJECT
Package

tar-file

Reader

uid (generic function)

Methods
Method: (setf uid) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf uid) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf uid) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: uname ENTRY

Return the uname of the ENTRY (a string).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf uname) (generic function)

Methods
Method: uname (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: uname (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: uname (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf uname) NEW-VALUE OBJECT
Package

tar-file

Reader

uname (generic function)

Methods
Method: (setf uname) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf uname) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: write-block-device-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID DEVMAJOR DEVMINOR PREFIX

Write a BLOCK-DEVICE-ENTRY to TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-block-device-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID DEVMAJOR DEVMINOR PREFIX
Source

entry.lisp (file)

Generic Function: write-character-device-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID DEVMAJOR DEVMINOR PREFIX

Write a CHARACTER-DEVICE-ENTRY to TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-character-device-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID DEVMAJOR DEVMINOR PREFIX
Source

entry.lisp (file)

Generic Function: write-directory-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID SIZE PREFIX

Write a DIRECTORY-ENTRY to TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-directory-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID SIZE PREFIX
Source

entry.lisp (file)

Generic Function: write-fifo-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID PREFIX

Write a FIFO-ENTRY to TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-fifo-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID PREFIX
Source

entry.lisp (file)

Generic Function: write-file-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID SIZE DATA PREFIX

Write a FILE-ENTRY to TAR-FILE.

DATA can be either NIL (no data is written), an octet vector (written as is), a string (encoded using UTF-8 and written), or a PATHNAME (opened, read, and written to the archive).

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-file-entry TAR-FILE NAME &rest ARGS &key UNAME GNAME MODE MTIME UID GID SIZE DATA PREFIX
Source

entry.lisp (file)

Write a GNU-LONG-LINK-NAME-ENTRY to TAR-FILE.

DATA must be either a string (which is then UTF-8 encoded) or a byte vector.

Package

tar-file

Source

generics.lisp (file)

Methods
Source

entry.lisp (file)

Generic Function: write-gnu-long-name-entry TAR-FILE NAME &rest ARGS &key DATA

Write a GNU-LONG-NAME-ENTRY to TAR-FILE.

DATA must be either a string (which is then UTF-8 encoded) or a byte vector.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-gnu-long-name-entry TAR-FILE NAME &rest ARGS &key DATA
Source

entry.lisp (file)

Write a HARD-LINK-ENTRY to TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Source

entry.lisp (file)

Generic Function: write-pax-extended-attributes-entry TAR-FILE NAME &rest ARGS &key ATTRIBUTES

Write a PAX-EXTENDED-ATTRIBUTES-ENTRY to TAR-FILE.

ATTRIBUTES must be either a hash table mapping strings to strings or an alist mapping strings to strings. If it is an alist, ordering is preserved.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-pax-extended-attributes-entry TAR-FILE NAME &rest ARGS &key ATTRIBUTES
Source

entry.lisp (file)

Generic Function: write-pax-global-attributes-entry TAR-FILE NAME &rest ARGS &key ATTRIBUTES

Write a PAX-GLOBAL-ATTRIBUTES-ENTRY to TAR-FILE.

ATTRIBUTES must be either a hash table mapping strings to strings or an alist mapping strings to strings. If it is an alist, ordering is preserved.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-pax-global-attributes-entry TAR-FILE NAME &rest ARGS &key ATTRIBUTES
Source

entry.lisp (file)

Write a SYMBOLIC-LINK-ENTRY to TAR-FILE.

Package

tar-file

Source

generics.lisp (file)

Methods
Source

entry.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Conditions

Condition: invalid-checksum-error ()

Signaled when the checksum in a tar header is invalid.

Package

tar-file

Source

conditions.lisp (file)

Direct superclasses

tar-file-error (condition)

Direct methods
Direct slots
Slot: provided
Initargs

:provided

Readers

provided (generic function)

Slot: computed
Initargs

:computed

Readers

computed (generic function)

Condition: malformed-pax-attribute-entry ()
Package

tar-file

Source

conditions.lisp (file)

Direct superclasses

tar-file-error (condition)

Condition: tar-file-error ()

All errors signaled are of this type.

Package

tar-file

Source

conditions.lisp (file)

Direct superclasses

error (condition)

Direct subclasses

Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Classes

Class: block-device-entry ()

A block device.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-block-device-p (method)

Class: character-device-entry ()

A character device.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-character-device-p (method)

Class: directory-entry ()

A directory.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-directory-p (method)

Class: entry ()

Base class for all entries in a tar file.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: tar-file
Initargs

:tar-file

Readers

entry-tar-file (generic function)

Slot: start-position

The FILE-POSITION of the start of the entry.

Initargs

:start-position

Readers

start-position (generic function)

Slot: header
Initargs

:header

Readers

header (generic function)

Class: fifo-entry ()

A FIFO.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-fifo-p (method)

Class: file-entry ()

A regular file.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct methods

entry-file-p (method)

Class: gnu-directory-dump-entry ()
Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct methods

entry-gnu-directory-dump-p (method)

Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct methods
Direct slots
Readers

long-link-name (generic function)

Writers

(setf long-link-name) (generic function)

Class: gnu-long-name-entry ()
Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct methods
Direct slots
Slot: long-name
Readers

long-name (generic function)

Writers

(setf long-name) (generic function)

Class: gnu-sparse-file-entry ()
Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct methods

entry-gnu-sparse-file-p (method)

Class: gnu-tar-file ()

A gnu tar file.

Package

tar-file

Source

gnu.lisp (file)

Direct superclasses

tar-file (class)

Direct methods
Class: gnu-volume-header-name-entry ()
Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-gnu-volume-header-name-p (method)

A hard link.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-hard-link-p (method)

Class: pax-extended-attributes-entry ()

Extended attributes for the subsequent record.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

pax-attributes-entry (class)

Direct methods

entry-pax-extended-attributes-p (method)

Class: pax-global-attributes-entry ()

Extended attributes for all subsequent records.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

pax-attributes-entry (class)

Direct methods

entry-pax-global-attributes-p (method)

A symbolic link.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses

entry (class)

Direct methods

entry-symbolic-link-p (method)

Class: tar-file ()

Base class of a tar file.

Package

tar-file

Source

tar-file.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: direction
Type

(member :input :output)

Initargs

:direction

Readers

%tar-file-direction (generic function)

Slot: open-tar-file-p
Initform

t

Readers

open-tar-file-p (generic function)

Writers

(setf open-tar-file-p) (generic function)

Slot: stream
Type

stream

Initargs

:stream

Readers

tar-file-stream (generic function)

Slot: other-streams-to-close
Type

list

Initargs

:other-streams-to-close

Readers

tar-file-other-streams-to-close (generic function)

Slot: next-entry-start
Type

integer

Initform

0

Readers

next-entry-start (generic function)

Writers

(setf next-entry-start) (generic function)

Slot: header-encoding
Initargs

:header-encoding

Initform

tar-file:*default-header-encoding*

Readers

header-encoding (generic function)

Writers

(setf header-encoding) (generic function)

Class: unknown-entry ()

An unknown entry.

Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct methods

entry-unknown-p (method)

Class: ustar-tar-file ()

A ustar tar file.

Package

tar-file

Source

ustar.lisp (file)

Direct superclasses

tar-file (class)

Direct methods
Class: v7-tar-file ()

A v7 tar file.

Package

tar-file

Source

v7.lisp (file)

Direct superclasses

tar-file (class)

Direct methods

Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: +ascii-/+
Package

tar-file

Source

constants.lisp (file)

Constant: +ascii-a+
Package

tar-file

Source

constants.lisp (file)

Constant: +ascii-newline+
Package

tar-file

Source

constants.lisp (file)

Constant: +ascii-nine+
Package

tar-file

Source

constants.lisp (file)

Constant: +ascii-space+
Package

tar-file

Source

constants.lisp (file)

Constant: +ascii-z+
Package

tar-file

Source

constants.lisp (file)

Constant: +ascii-zero+
Package

tar-file

Source

constants.lisp (file)

Constant: +gnutar-directory-dump+
Package

tar-file

Source

constants.lisp (file)

Package

tar-file

Source

constants.lisp (file)

Constant: +gnutar-long-name+
Package

tar-file

Source

constants.lisp (file)

Constant: +gnutar-sparse+
Package

tar-file

Source

constants.lisp (file)

Constant: +gnutar-volume-header-name+
Package

tar-file

Source

constants.lisp (file)

Constant: +posix-extended-header+
Package

tar-file

Source

constants.lisp (file)

Constant: +posix-global-header+
Package

tar-file

Source

constants.lisp (file)

Constant: +tar-block-device+
Package

tar-file

Source

constants.lisp (file)

Constant: +tar-character-device+
Package

tar-file

Source

constants.lisp (file)

Constant: +tar-directory-file+
Package

tar-file

Source

constants.lisp (file)

Constant: +tar-fifo-device+
Package

tar-file

Source

constants.lisp (file)

Package

tar-file

Source

constants.lisp (file)

Constant: +tar-implementation-specific-file+
Package

tar-file

Source

constants.lisp (file)

Constant: +tar-n-block-bytes+

The number of bytes in a single tar block.

Package

tar-file

Source

constants.lisp (file)

Constant: +tar-regular-alternate-file+
Package

tar-file

Source

constants.lisp (file)

Constant: +tar-regular-file+
Package

tar-file

Source

constants.lisp (file)

Package

tar-file

Source

constants.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Special variables

Special Variable: *default-type*

The default tar-file type if no detectors register a hit.

Package

tar-file

Source

tar-file.lisp (file)

Special Variable: *gnu-magic-vector*

The contents of the magic field for gnu tar-files.

Package

tar-file

Source

gnu.lisp (file)

Special Variable: *gnu-version-vector*

The contents of the version field for gnu tar-files.

Package

tar-file

Source

gnu.lisp (file)

Special Variable: *type-detectors*

A list of functions, that when called with a header buffer must return a symbol naming the type of tar-file that the header belongs to, or NIL.

Package

tar-file

Source

tar-file.lisp (file)

Special Variable: *ustar-magic-vector*

The contents of the magic field for ustar tar-files.

Package

tar-file

Source

ustar.lisp (file)

Special Variable: *ustar-version-vector*

The contents of the version field for ustar tar-files.

Package

tar-file

Source

ustar.lisp (file)

Special Variable: @block-device-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @character-device-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @conditions
Package

tar-file

Source

docs.lisp (file)

Special Variable: @directory-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @entries
Package

tar-file

Source

docs.lisp (file)

Special Variable: @fifo-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @file-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @gnu-directory-dump-entry
Package

tar-file

Source

docs.lisp (file)

Package

tar-file

Source

docs.lisp (file)

Special Variable: @gnu-long-name-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @gnu-sparse-file-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @gnu-volume-header-name-entry
Package

tar-file

Source

docs.lisp (file)

Package

tar-file

Source

docs.lisp (file)

Special Variable: @manual
Package

tar-file

Source

docs.lisp (file)

Special Variable: @opening-tar-files
Package

tar-file

Source

docs.lisp (file)

Special Variable: @pax-extended-attributes-entry
Package

tar-file

Source

docs.lisp (file)

Special Variable: @pax-global-attributes-entry
Package

tar-file

Source

docs.lisp (file)

Package

tar-file

Source

docs.lisp (file)

Special Variable: @tar-archive-types
Package

tar-file

Source

docs.lisp (file)

Special Variable: @unknown-entry
Package

tar-file

Source

docs.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Macros

Macro: define-octet-header CLASS-NAME &rest FIELD-DEFS
Package

tar-file

Source

macros.lisp (file)

Macro: make-header-forwarder NAME
Package

tar-file

Source

entry.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Functions

Function: attribute-alist-to-bytevec ALIST
Package

tar-file

Source

entry.lisp (file)

Function: attribute-pair-to-bytevec PAIR
Package

tar-file

Source

entry.lisp (file)

Function: bytevec-to-string BYTEVEC &optional ENCODING
Package

tar-file

Source

utils.lisp (file)

Function: call-with-open-tar-file THUNK PATHNAME-OR-STREAM &key DIRECTION IF-EXISTS IF-DOES-NOT-EXIST TYPE BLOCKING-FACTOR COMPRESSION HEADER-ENCODING
Package

tar-file

Source

external-macros.lisp (file)

Function: compute-checksum-for-tar-header HEADER-TYPE BLOCK START
Package

tar-file

Source

utils.lisp (file)

Function: compute-old-checksum-for-tar-header HEADER-TYPE BLOCK START
Package

tar-file

Source

utils.lisp (file)

Function: detect-gnu-tar-file BUFFER
Package

tar-file

Source

gnu.lisp (file)

Function: detect-type BUFFER
Package

tar-file

Source

tar-file.lisp (file)

Function: detect-ustar-tar-file BUFFER
Package

tar-file

Source

ustar.lisp (file)

Function: extractor-function-name ENTRY-NAME FIELD-NAME
Package

tar-file

Source

macros.lisp (file)

Function: gnu-header-read-%%padding-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-atime-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-checksum-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-ctime-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-devmajor-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-devminor-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-gid-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-gname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-isextended-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-linkname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-longnames-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-magic-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-mode-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-mtime-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-name-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-numbytes-sparse-0-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-numbytes-sparse-1-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-numbytes-sparse-2-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-numbytes-sparse-3-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-offset-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-offset-sparse-0-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-offset-sparse-1-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-offset-sparse-2-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-offset-sparse-3-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-realsize-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-size-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-typeflag-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-uid-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-uname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-unused-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-read-version-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-%%padding-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-atime-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-checksum-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-ctime-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-devmajor-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-devminor-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-gid-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-gname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-isextended-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-linkname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-longnames-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-magic-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-mode-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-mtime-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-name-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-numbytes-sparse-0-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-numbytes-sparse-1-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-numbytes-sparse-2-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-numbytes-sparse-3-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-offset-sparse-0-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-offset-sparse-1-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-offset-sparse-2-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-offset-sparse-3-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-offset-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-realsize-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-size-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-typeflag-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-uid-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-uname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-unused-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: gnu-header-write-version-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

gnu.lisp (file)

Function: injector-function-name ENTRY-NAME FIELD-NAME
Package

tar-file

Source

macros.lisp (file)

Function: make-bounded-stream STREAM SIZE &optional START-POSITION
Package

tar-file

Source

bounded-stream.lisp (file)

Function: make-compression-stream STREAM DIRECTION COMPRESSION
Package

tar-file

Source

tar-file.lisp (file)

Function: make-stream-for-entry TAR-FILE ENTRY
Package

tar-file

Source

tar-file.lisp (file)

Function: null-block-p BLOCK START
Package

tar-file

Source

utils.lisp (file)

Function: populate-pax-attributes ENTRY
Package

tar-file

Source

entry.lisp (file)

Function: read-attribute STREAM
Package

tar-file

Source

entry.lisp (file)

Function: read-attribute-length STREAM

Pop bytes out of the buffer until a space is read, then try turning that into a number.

Package

tar-file

Source

entry.lisp (file)

Function: read-bytevec-from-buffer BUFFER &key START END NULLP
Package

tar-file

Source

buffer-ops.lisp (file)

Function: read-number-from-buffer BUFFER &key START END RADIX
Package

tar-file

Source

buffer-ops.lisp (file)

Function: register-type-detector F
Package

tar-file

Source

tar-file.lisp (file)

Function: round-up-to-tar-block NUM
Package

tar-file

Source

utils.lisp (file)

Function: string-to-bytevec STRING &optional ENCODING
Package

tar-file

Source

utils.lisp (file)

Function: tar-block-checksum-matches-p HEADER-TYPE BLOCK CHECKSUM START
Package

tar-file

Source

utils.lisp (file)

Function: tar-checksum-guts HEADER-TYPE BLOCK START TRANSFORM-FUN
Package

tar-file

Source

utils.lisp (file)

Function: transfer-octets-to-tar-file TAR-FILE OCTETS
Package

tar-file

Source

tar-file.lisp (file)

Function: transfer-stream-to-tar-file TAR-FILE STREAM
Package

tar-file

Source

tar-file.lisp (file)

Function: ustar-header-read-%%padding-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-checksum-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-devmajor-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-devminor-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-gid-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-gname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-linkname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-magic-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-mode-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-mtime-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-name-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-prefix-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-size-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-typeflag-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-uid-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-uname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-read-version-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-%%padding-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-checksum-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-devmajor-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-devminor-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-gid-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-gname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-linkname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-magic-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-mode-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-mtime-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-name-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-prefix-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-size-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-typeflag-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-uid-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-uname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: ustar-header-write-version-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

ustar.lisp (file)

Function: v7-header-read-%%padding-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-checksum-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-gid-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-linkname-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-mode-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-mtime-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-name-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-size-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-typeflag-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-read-uid-from-buffer BUFFER ENTRY-START ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-%%padding-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-checksum-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-gid-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-linkname-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-mode-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-mtime-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-name-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-size-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-typeflag-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: v7-header-write-uid-to-buffer BUFFER ENTRY-START THING ENCODING
Package

tar-file

Source

v7.lisp (file)

Function: write-number-to-buffer NUMBER BUFFER &key START END RADIX NULLP
Package

tar-file

Source

buffer-ops.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Generic functions

Generic Function: %%padding OBJECT
Generic Function: (setf %%padding) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: %%padding (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: (setf %%padding) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: %%padding (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: (setf %%padding) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: %%padding (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: (setf %%padding) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: %position OBJECT
Generic Function: (setf %position) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: %position (BOUNDED-INPUT-STREAM bounded-input-stream)

automatically generated reader method

Source

bounded-stream.lisp (file)

Method: (setf %position) NEW-VALUE (BOUNDED-INPUT-STREAM bounded-input-stream)

automatically generated writer method

Source

bounded-stream.lisp (file)

Generic Function: %tar-file-direction OBJECT
Package

tar-file

Methods
Method: %tar-file-direction (TAR-FILE tar-file)

automatically generated reader method

Source

tar-file.lisp (file)

Generic Function: attributes OBJECT
Generic Function: (setf attributes) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: attributes (PAX-ATTRIBUTES-ENTRY pax-attributes-entry)
Method: (setf attributes) NEW-VALUE (PAX-ATTRIBUTES-ENTRY pax-attributes-entry)

A hash table mapping attribute names (strings) to values (strings).

Source

entry.lisp (file)

Generic Function: block-size OBJECT
Package

tar-file

Methods
Method: block-size (BLOCKED-STREAM blocked-stream)

The size of the buffer used when reading and/or writing.

Source

blocked-stream.lisp (file)

Generic Function: buffer OBJECT
Generic Function: (setf buffer) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: buffer (BLOCKED-STREAM blocked-stream)
Method: (setf buffer) NEW-VALUE (BLOCKED-STREAM blocked-stream)

The buffer.

Source

blocked-stream.lisp (file)

Generic Function: buffer-valid-p OBJECT
Generic Function: (setf buffer-valid-p) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: buffer-valid-p (BLOCKED-STREAM blocked-stream)
Method: (setf buffer-valid-p) NEW-VALUE (BLOCKED-STREAM blocked-stream)

T iff the BUFFER has been read at the current OFFSET.

Source

blocked-stream.lisp (file)

Generic Function: checksum ENTRY
Generic Function: (setf checksum) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: checksum (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: checksum (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: checksum (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: checksum (ENTRY entry)
Source

entry.lisp (file)

Method: (setf checksum) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf checksum) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf checksum) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: computed CONDITION
Package

tar-file

Methods
Method: computed (CONDITION invalid-checksum-error)
Source

conditions.lisp (file)

Generic Function: dirty-p OBJECT
Generic Function: (setf dirty-p) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: dirty-p (BLOCKED-OUTPUT-STREAM blocked-output-stream)
Method: (setf dirty-p) NEW-VALUE (BLOCKED-OUTPUT-STREAM blocked-output-stream)

If non-NIL, the buffer has been modified.

Source

blocked-stream.lisp (file)

Generic Function: discard-buffer STREAM

Must be called to clean up the current buffer. Resets internal state and potentially flushes the data to the wrapped stream.

Package

tar-file

Source

blocked-stream.lisp (file)

Methods
Method: discard-buffer (STREAM blocked-io-stream) before

Ensures the FILE-POSITION of the WRAPPED-STREAM is in the correct place for the buffer to be written.

Method: discard-buffer (STREAM blocked-output-stream)

Writes the entire buffer to the WRAPPED-STREAM. Assumes the FILE-POSITION of the wrapped stream is in the correct place.

Method: discard-buffer (STREAM blocked-stream)

Invalidate the buffer.

Generic Function: ensure-buffer-valid STREAM

Ensure STREAM’s buffer is valid, given the INDEX of the next operation.

Package

tar-file

Source

blocked-stream.lisp (file)

Methods
Method: ensure-buffer-valid (STREAM blocked-stream)
Generic Function: ensure-file-position STREAM
Package

tar-file

Methods
Method: ensure-file-position (STREAM bounded-input-stream)
Source

bounded-stream.lisp (file)

Generic Function: entry-tar-file OBJECT
Package

tar-file

Methods
Method: entry-tar-file (ENTRY entry)

automatically generated reader method

Source

entry.lisp (file)

Generic Function: eof-index OBJECT
Generic Function: (setf eof-index) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: eof-index (BLOCKED-INPUT-STREAM blocked-input-stream)
Method: (setf eof-index) NEW-VALUE (BLOCKED-INPUT-STREAM blocked-input-stream)

The index of EOF or NIL.

Source

blocked-stream.lisp (file)

Generic Function: field-length HEADER FIELD-NAME
Package

tar-file

Source

macros.lisp (file)

Methods
Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql %%padding))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql %%padding))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql linkname))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql linkname))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql typeflag))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql typeflag))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql checksum))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql checksum))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql mtime))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql mtime))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql size))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql size))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql gid))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql gid))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql uid))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql uid))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql mode))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql mode))
Source

v7.lisp (file)

Method: field-length (HEADER (eql v7-header)) (FIELD-NAME (eql name))
Source

v7.lisp (file)

Method: field-length (HEADER v7-header) (FIELD-NAME (eql name))
Source

v7.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql %%padding))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql %%padding))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql prefix))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql prefix))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql devminor))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql devminor))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql devmajor))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql devmajor))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql gname))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql gname))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql uname))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql uname))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql version))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql version))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql magic))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql magic))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql linkname))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql linkname))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql typeflag))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql typeflag))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql checksum))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql checksum))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql mtime))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql mtime))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql size))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql size))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql gid))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql gid))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql uid))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql uid))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql mode))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql mode))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql ustar-header)) (FIELD-NAME (eql name))
Source

ustar.lisp (file)

Method: field-length (HEADER ustar-header) (FIELD-NAME (eql name))
Source

ustar.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql %%padding))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql %%padding))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql realsize))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql realsize))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql isextended))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql isextended))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-3))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-3))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-3))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-3))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-2))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-2))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-2))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-2))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-1))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-1))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-1))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-1))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-0))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-0))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-0))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-0))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql unused))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql unused))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql longnames))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql longnames))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql offset))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql offset))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql ctime))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql ctime))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql atime))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql atime))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql devminor))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql devminor))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql devmajor))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql devmajor))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql gname))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql gname))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql uname))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql uname))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql version))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql version))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql magic))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql magic))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql linkname))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql linkname))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql typeflag))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql typeflag))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql checksum))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql checksum))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql mtime))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql mtime))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql size))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql size))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql gid))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql gid))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql uid))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql uid))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql mode))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql mode))
Source

gnu.lisp (file)

Method: field-length (HEADER (eql gnu-header)) (FIELD-NAME (eql name))
Source

gnu.lisp (file)

Method: field-length (HEADER gnu-header) (FIELD-NAME (eql name))
Source

gnu.lisp (file)

Generic Function: field-offset HEADER FIELD-NAME
Package

tar-file

Source

macros.lisp (file)

Methods
Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql %%padding))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql %%padding))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql linkname))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql linkname))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql typeflag))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql typeflag))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql checksum))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql checksum))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql mtime))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql mtime))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql size))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql size))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql gid))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql gid))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql uid))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql uid))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql mode))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql mode))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql v7-header)) (FIELD-NAME (eql name))
Source

v7.lisp (file)

Method: field-offset (HEADER v7-header) (FIELD-NAME (eql name))
Source

v7.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql %%padding))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql %%padding))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql prefix))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql prefix))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql devminor))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql devminor))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql devmajor))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql devmajor))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql gname))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql gname))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql uname))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql uname))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql version))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql version))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql magic))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql magic))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql linkname))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql linkname))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql typeflag))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql typeflag))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql checksum))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql checksum))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql mtime))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql mtime))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql size))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql size))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql gid))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql gid))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql uid))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql uid))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql mode))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql mode))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql ustar-header)) (FIELD-NAME (eql name))
Source

ustar.lisp (file)

Method: field-offset (HEADER ustar-header) (FIELD-NAME (eql name))
Source

ustar.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql %%padding))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql %%padding))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql realsize))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql realsize))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql isextended))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql isextended))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-3))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-3))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-3))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-3))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-2))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-2))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-2))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-2))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-1))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-1))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-1))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-1))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql numbytes-sparse-0))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql numbytes-sparse-0))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql offset-sparse-0))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql offset-sparse-0))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql unused))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql unused))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql longnames))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql longnames))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql offset))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql offset))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql ctime))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql ctime))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql atime))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql atime))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql devminor))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql devminor))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql devmajor))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql devmajor))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql gname))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql gname))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql uname))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql uname))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql version))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql version))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql magic))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql magic))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql linkname))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql linkname))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql typeflag))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql typeflag))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql checksum))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql checksum))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql mtime))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql mtime))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql size))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql size))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql gid))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql gid))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql uid))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql uid))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql mode))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql mode))
Source

gnu.lisp (file)

Method: field-offset (HEADER (eql gnu-header)) (FIELD-NAME (eql name))
Source

gnu.lisp (file)

Method: field-offset (HEADER gnu-header) (FIELD-NAME (eql name))
Source

gnu.lisp (file)

Generic Function: fill-buffer STREAM
Package

tar-file

Methods
Method: fill-buffer (STREAM blocked-output-stream)
Source

blocked-stream.lisp (file)

Method: fill-buffer (STREAM blocked-input-stream)
Source

blocked-stream.lisp (file)

Generic Function: header OBJECT
Package

tar-file

Methods
Method: header (ENTRY entry)

automatically generated reader method

Source

entry.lisp (file)

Generic Function: header-encoding OBJECT
Generic Function: (setf header-encoding) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: header-encoding (TAR-FILE tar-file)

automatically generated reader method

Source

tar-file.lisp (file)

Method: (setf header-encoding) NEW-VALUE (TAR-FILE tar-file)

automatically generated writer method

Source

tar-file.lisp (file)

Generic Function: header-length HEADER
Package

tar-file

Source

macros.lisp (file)

Methods
Method: header-length (HEADER (eql v7-header))
Source

v7.lisp (file)

Method: header-length (HEADER v7-header)
Source

v7.lisp (file)

Method: header-length (HEADER (eql ustar-header))
Source

ustar.lisp (file)

Method: header-length (HEADER ustar-header)
Source

ustar.lisp (file)

Method: header-length (HEADER (eql gnu-header))
Source

gnu.lisp (file)

Method: header-length (HEADER gnu-header)
Source

gnu.lisp (file)

Generic Function: header-type TAR-FILE

Given a tar-file, return a symbol naming the header class.

Package

tar-file

Source

tar-file.lisp (file)

Methods
Method: header-type (TAR-FILE v7-tar-file)
Source

v7.lisp (file)

Method: header-type (TAR-FILE ustar-tar-file)
Source

ustar.lisp (file)

Method: header-type (TAR-FILE gnu-tar-file)
Source

gnu.lisp (file)

Generic Function: index OBJECT
Generic Function: (setf index) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: index (BLOCKED-STREAM blocked-stream)
Method: (setf index) NEW-VALUE (BLOCKED-STREAM blocked-stream)

The index of the next element to operate on.

Source

blocked-stream.lisp (file)

Package

tar-file

Methods

automatically generated reader method

Source

entry.lisp (file)

automatically generated writer method

Source

entry.lisp (file)

Generic Function: long-name OBJECT
Generic Function: (setf long-name) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: long-name (GNU-LONG-NAME-ENTRY gnu-long-name-entry)

automatically generated reader method

Source

entry.lisp (file)

Method: (setf long-name) NEW-VALUE (GNU-LONG-NAME-ENTRY gnu-long-name-entry)

automatically generated writer method

Source

entry.lisp (file)

Generic Function: longnames OBJECT
Generic Function: (setf longnames) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: longnames (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: (setf longnames) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: magic ENTRY
Generic Function: (setf magic) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: magic (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: magic (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: magic (ENTRY entry)
Source

entry.lisp (file)

Method: (setf magic) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf magic) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: n-bytes-remaining OBJECT
Generic Function: (setf n-bytes-remaining) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: n-bytes-remaining (BOUNDED-INPUT-STREAM bounded-input-stream)

automatically generated reader method

Source

bounded-stream.lisp (file)

Method: (setf n-bytes-remaining) NEW-VALUE (BOUNDED-INPUT-STREAM bounded-input-stream)

automatically generated writer method

Source

bounded-stream.lisp (file)

Generic Function: next-entry-start OBJECT
Generic Function: (setf next-entry-start) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: next-entry-start (TAR-FILE tar-file)

automatically generated reader method

Source

tar-file.lisp (file)

Method: (setf next-entry-start) NEW-VALUE (TAR-FILE tar-file)

automatically generated writer method

Source

tar-file.lisp (file)

Generic Function: num-bytes-peeked OBJECT
Package

tar-file

Methods
Method: num-bytes-peeked (PEEKING-INPUT-STREAM peeking-input-stream)

automatically generated reader method

Source

peeking-stream.lisp (file)

Generic Function: numbytes-sparse-3 ENTRY

Return the numbytes of the fourth sparse block of the ENTRY (an integer).

Package

tar-file

Source

generics.lisp (file)

Writer

(setf numbytes-sparse-3) (generic function)

Methods
Method: numbytes-sparse-3 (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: numbytes-sparse-3 (ENTRY entry)
Source

entry.lisp (file)

Generic Function: (setf numbytes-sparse-3) NEW-VALUE OBJECT
Package

tar-file

Reader

numbytes-sparse-3 (generic function)

Methods
Method: (setf numbytes-sparse-3) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: open-tar-file-p OBJECT
Generic Function: (setf open-tar-file-p) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: open-tar-file-p (TAR-FILE tar-file)

automatically generated reader method

Source

tar-file.lisp (file)

Method: (setf open-tar-file-p) NEW-VALUE (TAR-FILE tar-file)

automatically generated writer method

Source

tar-file.lisp (file)

Generic Function: peeked-bytes OBJECT
Package

tar-file

Methods
Method: peeked-bytes (PEEKING-INPUT-STREAM peeking-input-stream)

automatically generated reader method

Source

peeking-stream.lisp (file)

Generic Function: provided CONDITION
Package

tar-file

Methods
Method: provided (CONDITION invalid-checksum-error)
Source

conditions.lisp (file)

Generic Function: read-header-from-buffer HEADER BUFFER ENCODING &key START
Package

tar-file

Methods
Method: read-header-from-buffer (HEADER (eql v7-header)) BUFFER ENCODING &key START
Source

v7.lisp (file)

Method: read-header-from-buffer (HEADER (eql ustar-header)) BUFFER ENCODING &key START
Source

ustar.lisp (file)

Method: read-header-from-buffer (HEADER (eql gnu-header)) BUFFER ENCODING &key START
Source

gnu.lisp (file)

Generic Function: start-file-position OBJECT
Generic Function: (setf start-file-position) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: start-file-position (BLOCKED-STREAM blocked-stream)
Method: (setf start-file-position) NEW-VALUE (BLOCKED-STREAM blocked-stream)

The FILE-POSITION of the WRAPPED-STREAM when this BLOCKED-STREAM is instantiated.

Source

blocked-stream.lisp (file)

Generic Function: start-position OBJECT
Package

tar-file

Methods
Method: start-position (PEEKING-INPUT-STREAM peeking-input-stream)

automatically generated reader method

Source

peeking-stream.lisp (file)

Method: start-position (ENTRY entry)

The FILE-POSITION of the start of the entry.

Source

entry.lisp (file)

Generic Function: stream-offset OBJECT
Generic Function: (setf stream-offset) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: stream-offset (BLOCKED-STREAM blocked-stream)
Method: (setf stream-offset) NEW-VALUE (BLOCKED-STREAM blocked-stream)

The number of bytes between the start of the buffer and START-FILE-POSITION.

Source

blocked-stream.lisp (file)

Generic Function: tar-file-other-streams-to-close OBJECT
Package

tar-file

Methods
Method: tar-file-other-streams-to-close (TAR-FILE tar-file)

automatically generated reader method

Source

tar-file.lisp (file)

Generic Function: tar-file-stream OBJECT
Package

tar-file

Methods
Method: tar-file-stream (TAR-FILE tar-file)

automatically generated reader method

Source

tar-file.lisp (file)

Generic Function: typeflag ENTRY
Generic Function: (setf typeflag) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: typeflag (V7-HEADER v7-header)

automatically generated reader method

Source

v7.lisp (file)

Method: typeflag (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: typeflag (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: typeflag (ENTRY entry)
Source

entry.lisp (file)

Method: (setf typeflag) NEW-VALUE (V7-HEADER v7-header)

automatically generated writer method

Source

v7.lisp (file)

Method: (setf typeflag) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf typeflag) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: unread-peeked-bytes OBJECT
Generic Function: (setf unread-peeked-bytes) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: unread-peeked-bytes (PEEKING-INPUT-STREAM peeking-input-stream)

automatically generated reader method

Source

peeking-stream.lisp (file)

Method: (setf unread-peeked-bytes) NEW-VALUE (PEEKING-INPUT-STREAM peeking-input-stream)

automatically generated writer method

Source

peeking-stream.lisp (file)

Generic Function: unused OBJECT
Generic Function: (setf unused) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: unused (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: (setf unused) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: user-attributes-to-alist ATTRIBUTES
Package

tar-file

Methods
Method: user-attributes-to-alist (ATTRIBUTES list)
Source

entry.lisp (file)

Method: user-attributes-to-alist (ATTRIBUTES hash-table)
Source

entry.lisp (file)

Generic Function: version ENTRY
Generic Function: (setf version) NEW-VALUE OBJECT
Package

tar-file

Methods
Method: version (USTAR-HEADER ustar-header)

automatically generated reader method

Source

ustar.lisp (file)

Method: version (GNU-HEADER gnu-header)

automatically generated reader method

Source

gnu.lisp (file)

Method: version (ENTRY entry)
Source

entry.lisp (file)

Method: (setf version) NEW-VALUE (USTAR-HEADER ustar-header)

automatically generated writer method

Source

ustar.lisp (file)

Method: (setf version) NEW-VALUE (GNU-HEADER gnu-header)

automatically generated writer method

Source

gnu.lisp (file)

Generic Function: wrapped-stream OBJECT
Package

tar-file

Methods
Method: wrapped-stream (PEEKING-INPUT-STREAM peeking-input-stream)

automatically generated reader method

Source

peeking-stream.lisp (file)

Method: wrapped-stream (BOUNDED-INPUT-STREAM bounded-input-stream)

automatically generated reader method

Source

bounded-stream.lisp (file)

Method: wrapped-stream (BLOCKED-STREAM blocked-stream)

The underlying stream this wraps.

Source

blocked-stream.lisp (file)

Generic Function: write-entry TAR-FILE ENTRY &key STREAM

Write ENTRY to TAR-FILE. Data associated with ENTRY is
written to TAR-FILE according to the :STREAM argument. If :STREAM is T, the expression (NAME ENTRY) is expected to refer to an existing file from which data may be read. If :STREAM is a stream, then data is read from that stream and written to TAR-FILE. If :STREAM is NIL, then no entry data is written.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-entry (TAR-FILE tar-file) ENTRY &key STREAM
Source

tar-file.lisp (file)

Method: write-entry (TAR-FILE tar-file) ENTRY &key STREAM before
Source

tar-file.lisp (file)

Generic Function: write-entry-data TAR-FILE ENTRY STREAM

Write any data associated with ENTRY, possibly found
in STREAM to TAR-FILE; called after WRITE-HEADER-TO-BUFFER. STREAM is interpreted as in WRITE-ENTRY.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-entry-data (TAR-FILE tar-file) ENTRY STREAM
Source

tar-file.lisp (file)

Generic Function: write-header-to-buffer HEADER BUFFER ENCODING &optional START

Write the information associated with HEADER into BUFFER, beginning at position START.

Package

tar-file

Source

generics.lisp (file)

Methods
Method: write-header-to-buffer (HEADER v7-header) BUFFER ENCODING &optional START
Source

v7.lisp (file)

Method: write-header-to-buffer (HEADER ustar-header) BUFFER ENCODING &optional START
Source

ustar.lisp (file)

Method: write-header-to-buffer (HEADER gnu-header) BUFFER ENCODING &optional START
Source

gnu.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Conditions

Condition: blocked-stream-error ()
Package

tar-file

Source

blocked-stream.lisp (file)

Direct superclasses

stream-error (condition)

Direct subclasses

simple-blocked-stream-error (condition)

Condition: simple-blocked-stream-error ()
Package

tar-file

Source

blocked-stream.lisp (file)

Direct superclasses
Condition: simple-tar-file-error ()
Package

tar-file

Source

conditions.lisp (file)

Direct superclasses

Previous: , Up: Internal definitions   [Contents][Index]

5.2.7 Classes

Class: blocked-input-stream ()

A BLOCKED-STREAM used for input.

Package

tar-file

Source

blocked-stream.lisp (file)

Direct superclasses
Direct subclasses

blocked-io-stream (class)

Direct methods
  • stream-read-sequence (method)
  • stream-read-byte (method)
  • fill-buffer (method)
  • eof-index (method)
  • eof-index (method)
Direct slots
Slot: eof-index

The index of EOF or NIL.

Readers

eof-index (generic function)

Writers

(setf eof-index) (generic function)

Class: blocked-io-stream ()

A BLOCKED-STREAM used for both input and output.

Package

tar-file

Source

blocked-stream.lisp (file)

Direct superclasses
Direct methods

discard-buffer (method)

Class: blocked-output-stream ()

A BLOCKED-STREAM used for output.

Package

tar-file

Source

blocked-stream.lisp (file)

Direct superclasses
Direct subclasses

blocked-io-stream (class)

Direct methods
Direct slots
Slot: dirty-p

If non-NIL, the buffer has been modified.

Readers

dirty-p (generic function)

Writers

(setf dirty-p) (generic function)

Class: blocked-stream ()

Wraps a binary stream and ensures that all reads from and writes to the underlying stream occur in blocks of size BLOCK-SIZE. All blocks are aligned with the position of the wrapped stream when this BLOCKED-STREAM is instantiated. All FILE-POSITIONs of this stream a relative to the FILE-POSITION of the wrapped stream when instantiated.

Package

tar-file

Source

blocked-stream.lisp (file)

Direct superclasses
  • fundamental-binary-stream (class)
  • trivial-gray-stream-mixin (class)
Direct subclasses
Direct methods
Direct slots
Slot: wrapped-stream

The underlying stream this wraps.

Initargs

:stream

Readers

wrapped-stream (generic function)

Slot: block-size

The size of the buffer used when reading and/or writing.

Initargs

:block-size

Initform

512

Readers

block-size (generic function)

Slot: start-file-position

The FILE-POSITION of the WRAPPED-STREAM when this BLOCKED-STREAM is instantiated.

Readers

start-file-position (generic function)

Writers

(setf start-file-position) (generic function)

Slot: offset

The number of bytes between the start of the buffer and START-FILE-POSITION.

Initform

0

Readers

stream-offset (generic function)

Writers

(setf stream-offset) (generic function)

Slot: index

The index of the next element to operate on.

Initform

0

Readers

index (generic function)

Writers

(setf index) (generic function)

Slot: buffer-valid-p

T iff the BUFFER has been read at the current OFFSET.

Readers

buffer-valid-p (generic function)

Writers

(setf buffer-valid-p) (generic function)

Slot: buffer

The buffer.

Readers

buffer (generic function)

Writers

(setf buffer) (generic function)

Class: bounded-input-stream ()
Package

tar-file

Source

bounded-stream.lisp (file)

Direct superclasses
  • fundamental-binary-input-stream (class)
  • trivial-gray-stream-mixin (class)
Direct methods
Direct slots
Slot: %position
Initargs

:position

Readers

%position (generic function)

Writers

(setf %position) (generic function)

Slot: wrapped-stream
Initargs

:stream

Readers

wrapped-stream (generic function)

Slot: n-bytes-remaining
Initargs

:bytes

Readers

n-bytes-remaining (generic function)

Writers

(setf n-bytes-remaining) (generic function)

Direct Default Initargs
InitargValue
:bytes0
Class: gnu-header ()
Package

tar-file

Source

gnu.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: mode
Initargs

:mode

Readers

mode (generic function)

Writers

(setf mode) (generic function)

Slot: uid
Initargs

:uid

Readers

uid (generic function)

Writers

(setf uid) (generic function)

Slot: gid
Initargs

:gid

Readers

gid (generic function)

Writers

(setf gid) (generic function)

Slot: size
Initargs

:size

Readers

size (generic function)

Writers

(setf size) (generic function)

Slot: mtime
Initargs

:mtime

Readers

mtime (generic function)

Writers

(setf mtime) (generic function)

Slot: checksum
Initargs

:checksum

Readers

checksum (generic function)

Writers

(setf checksum) (generic function)

Slot: typeflag
Initargs

:typeflag

Readers

typeflag (generic function)

Writers

(setf typeflag) (generic function)

Slot: linkname
Initargs

:linkname

Readers

linkname (generic function)

Writers

(setf linkname) (generic function)

Slot: magic
Initargs

:magic

Readers

magic (generic function)

Writers

(setf magic) (generic function)

Slot: version
Initargs

:version

Readers

version (generic function)

Writers

(setf version) (generic function)

Slot: uname
Initargs

:uname

Readers

uname (generic function)

Writers

(setf uname) (generic function)

Slot: gname
Initargs

:gname

Readers

gname (generic function)

Writers

(setf gname) (generic function)

Slot: devmajor
Initargs

:devmajor

Readers

devmajor (generic function)

Writers

(setf devmajor) (generic function)

Slot: devminor
Initargs

:devminor

Readers

devminor (generic function)

Writers

(setf devminor) (generic function)

Slot: atime
Initargs

:atime

Readers

atime (generic function)

Writers

(setf atime) (generic function)

Slot: ctime
Initargs

:ctime

Readers

ctime (generic function)

Writers

(setf ctime) (generic function)

Slot: offset
Initargs

:offset

Readers

offset (generic function)

Writers

(setf offset) (generic function)

Slot: longnames
Initargs

:longnames

Readers

longnames (generic function)

Writers

(setf longnames) (generic function)

Slot: unused
Initargs

:unused

Readers

unused (generic function)

Writers

(setf unused) (generic function)

Slot: offset-sparse-0
Initargs

:offset-sparse-0

Readers

offset-sparse-0 (generic function)

Writers

(setf offset-sparse-0) (generic function)

Slot: numbytes-sparse-0
Initargs

:numbytes-sparse-0

Readers

numbytes-sparse-0 (generic function)

Writers

(setf numbytes-sparse-0) (generic function)

Slot: offset-sparse-1
Initargs

:offset-sparse-1

Readers

offset-sparse-1 (generic function)

Writers

(setf offset-sparse-1) (generic function)

Slot: numbytes-sparse-1
Initargs

:numbytes-sparse-1

Readers

numbytes-sparse-1 (generic function)

Writers

(setf numbytes-sparse-1) (generic function)

Slot: offset-sparse-2
Initargs

:offset-sparse-2

Readers

offset-sparse-2 (generic function)

Writers

(setf offset-sparse-2) (generic function)

Slot: numbytes-sparse-2
Initargs

:numbytes-sparse-2

Readers

numbytes-sparse-2 (generic function)

Writers

(setf numbytes-sparse-2) (generic function)

Slot: offset-sparse-3
Initargs

:offset-sparse-3

Readers

offset-sparse-3 (generic function)

Writers

(setf offset-sparse-3) (generic function)

Slot: numbytes-sparse-3
Initargs

:numbytes-sparse-3

Readers

numbytes-sparse-3 (generic function)

Writers

(setf numbytes-sparse-3) (generic function)

Slot: isextended
Initargs

:isextended

Readers

isextended (generic function)

Writers

(setf isextended) (generic function)

Slot: realsize
Initargs

:realsize

Readers

realsize (generic function)

Writers

(setf realsize) (generic function)

Slot: %%padding
Initargs

:%%padding

Readers

%%padding (generic function)

Writers

(setf %%padding) (generic function)

Direct Default Initargs
InitargValue
:name""
:mode0
:uid0
:gid0
:size0
:mtime0
:checksum0
:typeflag0
:linkname""
:magictar-file::*gnu-magic-vector*
:versiontar-file::*gnu-version-vector*
:uname""
:gname""
:devmajor0
:devminor0
:atime0
:ctime0
:offset0
:longnames""
:unused0
:offset-sparse-00
:numbytes-sparse-00
:offset-sparse-10
:numbytes-sparse-10
:offset-sparse-20
:numbytes-sparse-20
:offset-sparse-30
:numbytes-sparse-30
:isextended0
:realsize0
:%%padding""
Class: has-data-mixin ()
Package

tar-file

Source

entry.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Class: pax-attributes-entry ()
Package

tar-file

Source

entry.lisp (file)

Direct superclasses
Direct subclasses
Direct methods
Direct slots
Slot: attributes

A hash table mapping attribute names (strings) to values (strings).

Readers

attributes (generic function)

Writers

(setf attributes) (generic function)

Class: peeking-input-stream ()

A stream that makes the first N elements available both via normal read functions and via PEEKED-BYTES.

Package

tar-file

Source

peeking-stream.lisp (file)

Direct superclasses
  • fundamental-binary-input-stream (class)
  • trivial-gray-stream-mixin (class)
Direct methods
Direct slots
Slot: wrapped-stream
Initargs

:stream

Readers

wrapped-stream (generic function)

Slot: start-position
Readers

start-position (generic function)

Slot: num-bytes
Initargs

:num-bytes

Readers

num-bytes-peeked (generic function)

Slot: bytes
Readers

peeked-bytes (generic function)

Slot: unread-bytes
Initargs

:num-bytes

Readers

unread-peeked-bytes (generic function)

Writers

(setf unread-peeked-bytes) (generic function)

Class: ustar-header ()
Package

tar-file

Source

ustar.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: mode
Initargs

:mode

Readers

mode (generic function)

Writers

(setf mode) (generic function)

Slot: uid
Initargs

:uid

Readers

uid (generic function)

Writers

(setf uid) (generic function)

Slot: gid
Initargs

:gid

Readers

gid (generic function)

Writers

(setf gid) (generic function)

Slot: size
Initargs

:size

Readers

size (generic function)

Writers

(setf size) (generic function)

Slot: mtime
Initargs

:mtime

Readers

mtime (generic function)

Writers

(setf mtime) (generic function)

Slot: checksum
Initargs

:checksum

Readers

checksum (generic function)

Writers

(setf checksum) (generic function)

Slot: typeflag
Initargs

:typeflag

Readers

typeflag (generic function)

Writers

(setf typeflag) (generic function)

Slot: linkname
Initargs

:linkname

Readers

linkname (generic function)

Writers

(setf linkname) (generic function)

Slot: magic
Initargs

:magic

Readers

magic (generic function)

Writers

(setf magic) (generic function)

Slot: version
Initargs

:version

Readers

version (generic function)

Writers

(setf version) (generic function)

Slot: uname
Initargs

:uname

Readers

uname (generic function)

Writers

(setf uname) (generic function)

Slot: gname
Initargs

:gname

Readers

gname (generic function)

Writers

(setf gname) (generic function)

Slot: devmajor
Initargs

:devmajor

Readers

devmajor (generic function)

Writers

(setf devmajor) (generic function)

Slot: devminor
Initargs

:devminor

Readers

devminor (generic function)

Writers

(setf devminor) (generic function)

Slot: prefix
Initargs

:prefix

Readers

prefix (generic function)

Writers

(setf prefix) (generic function)

Slot: %%padding
Initargs

:%%padding

Readers

%%padding (generic function)

Writers

(setf %%padding) (generic function)

Direct Default Initargs
InitargValue
:name""
:mode0
:uid0
:gid0
:size0
:mtime0
:checksum0
:typeflag0
:linkname""
:magictar-file::*ustar-magic-vector*
:versiontar-file::*ustar-version-vector*
:uname""
:gname""
:devmajor0
:devminor0
:prefix""
:%%padding""
Class: v7-header ()
Package

tar-file

Source

v7.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: mode
Initargs

:mode

Readers

mode (generic function)

Writers

(setf mode) (generic function)

Slot: uid
Initargs

:uid

Readers

uid (generic function)

Writers

(setf uid) (generic function)

Slot: gid
Initargs

:gid

Readers

gid (generic function)

Writers

(setf gid) (generic function)

Slot: size
Initargs

:size

Readers

size (generic function)

Writers

(setf size) (generic function)

Slot: mtime
Initargs

:mtime

Readers

mtime (generic function)

Writers

(setf mtime) (generic function)

Slot: checksum
Initargs

:checksum

Readers

checksum (generic function)

Writers

(setf checksum) (generic function)

Slot: typeflag
Initargs

:typeflag

Readers

typeflag (generic function)

Writers

(setf typeflag) (generic function)

Slot: linkname
Initargs

:linkname

Readers

linkname (generic function)

Writers

(setf linkname) (generic function)

Slot: %%padding
Initargs

:%%padding

Readers

%%padding (generic function)

Writers

(setf %%padding) (generic function)

Direct Default Initargs
InitargValue
:name""
:mode0
:uid0
:gid0
:size0
:mtime0
:checksum0
:typeflag0
:linkname""
:%%padding""

Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   T  
Index Entry  Section

F
File, Lisp, tar-file.asd: The tar-file․asd file
File, Lisp, tar-file/blocked-stream.lisp: The tar-file/blocked-stream․lisp file
File, Lisp, tar-file/bounded-stream.lisp: The tar-file/bounded-stream․lisp file
File, Lisp, tar-file/buffer-ops.lisp: The tar-file/buffer-ops․lisp file
File, Lisp, tar-file/conditions.lisp: The tar-file/conditions․lisp file
File, Lisp, tar-file/constants.lisp: The tar-file/constants․lisp file
File, Lisp, tar-file/docs.lisp: The tar-file/docs․lisp file
File, Lisp, tar-file/entry.lisp: The tar-file/entry․lisp file
File, Lisp, tar-file/external-macros.lisp: The tar-file/external-macros․lisp file
File, Lisp, tar-file/generics.lisp: The tar-file/generics․lisp file
File, Lisp, tar-file/gnu.lisp: The tar-file/gnu․lisp file
File, Lisp, tar-file/macros.lisp: The tar-file/macros․lisp file
File, Lisp, tar-file/package.lisp: The tar-file/package․lisp file
File, Lisp, tar-file/peeking-stream.lisp: The tar-file/peeking-stream․lisp file
File, Lisp, tar-file/tar-file.lisp: The tar-file/tar-file․lisp file
File, Lisp, tar-file/ustar.lisp: The tar-file/ustar․lisp file
File, Lisp, tar-file/utils.lisp: The tar-file/utils․lisp file
File, Lisp, tar-file/v7.lisp: The tar-file/v7․lisp file

L
Lisp File, tar-file.asd: The tar-file․asd file
Lisp File, tar-file/blocked-stream.lisp: The tar-file/blocked-stream․lisp file
Lisp File, tar-file/bounded-stream.lisp: The tar-file/bounded-stream․lisp file
Lisp File, tar-file/buffer-ops.lisp: The tar-file/buffer-ops․lisp file
Lisp File, tar-file/conditions.lisp: The tar-file/conditions․lisp file
Lisp File, tar-file/constants.lisp: The tar-file/constants․lisp file
Lisp File, tar-file/docs.lisp: The tar-file/docs․lisp file
Lisp File, tar-file/entry.lisp: The tar-file/entry․lisp file
Lisp File, tar-file/external-macros.lisp: The tar-file/external-macros․lisp file
Lisp File, tar-file/generics.lisp: The tar-file/generics․lisp file
Lisp File, tar-file/gnu.lisp: The tar-file/gnu․lisp file
Lisp File, tar-file/macros.lisp: The tar-file/macros․lisp file
Lisp File, tar-file/package.lisp: The tar-file/package․lisp file
Lisp File, tar-file/peeking-stream.lisp: The tar-file/peeking-stream․lisp file
Lisp File, tar-file/tar-file.lisp: The tar-file/tar-file․lisp file
Lisp File, tar-file/ustar.lisp: The tar-file/ustar․lisp file
Lisp File, tar-file/utils.lisp: The tar-file/utils․lisp file
Lisp File, tar-file/v7.lisp: The tar-file/v7․lisp file

T
tar-file.asd: The tar-file․asd file
tar-file/blocked-stream.lisp: The tar-file/blocked-stream․lisp file
tar-file/bounded-stream.lisp: The tar-file/bounded-stream․lisp file
tar-file/buffer-ops.lisp: The tar-file/buffer-ops․lisp file
tar-file/conditions.lisp: The tar-file/conditions․lisp file
tar-file/constants.lisp: The tar-file/constants․lisp file
tar-file/docs.lisp: The tar-file/docs․lisp file
tar-file/entry.lisp: The tar-file/entry․lisp file
tar-file/external-macros.lisp: The tar-file/external-macros․lisp file
tar-file/generics.lisp: The tar-file/generics․lisp file
tar-file/gnu.lisp: The tar-file/gnu․lisp file
tar-file/macros.lisp: The tar-file/macros․lisp file
tar-file/package.lisp: The tar-file/package․lisp file
tar-file/peeking-stream.lisp: The tar-file/peeking-stream․lisp file
tar-file/tar-file.lisp: The tar-file/tar-file․lisp file
tar-file/ustar.lisp: The tar-file/ustar․lisp file
tar-file/utils.lisp: The tar-file/utils․lisp file
tar-file/v7.lisp: The tar-file/v7․lisp file

Jump to:   F   L   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   R   S   T   U   V   W  
Index Entry  Section

%
%%padding: Internal generic functions
%%padding: Internal generic functions
%%padding: Internal generic functions
%%padding: Internal generic functions
%position: Internal generic functions
%position: Internal generic functions
%tar-file-direction: Internal generic functions
%tar-file-direction: Internal generic functions

(
(setf %%padding): Internal generic functions
(setf %%padding): Internal generic functions
(setf %%padding): Internal generic functions
(setf %%padding): Internal generic functions
(setf %position): Internal generic functions
(setf %position): Internal generic functions
(setf atime): Exported generic functions
(setf atime): Exported generic functions
(setf attributes): Internal generic functions
(setf attributes): Internal generic functions
(setf buffer): Internal generic functions
(setf buffer): Internal generic functions
(setf buffer-valid-p): Internal generic functions
(setf buffer-valid-p): Internal generic functions
(setf checksum): Internal generic functions
(setf checksum): Internal generic functions
(setf checksum): Internal generic functions
(setf checksum): Internal generic functions
(setf ctime): Exported generic functions
(setf ctime): Exported generic functions
(setf devmajor): Exported generic functions
(setf devmajor): Exported generic functions
(setf devmajor): Exported generic functions
(setf devminor): Exported generic functions
(setf devminor): Exported generic functions
(setf devminor): Exported generic functions
(setf dirty-p): Internal generic functions
(setf dirty-p): Internal generic functions
(setf eof-index): Internal generic functions
(setf eof-index): Internal generic functions
(setf gid): Exported generic functions
(setf gid): Exported generic functions
(setf gid): Exported generic functions
(setf gid): Exported generic functions
(setf gname): Exported generic functions
(setf gname): Exported generic functions
(setf gname): Exported generic functions
(setf header-encoding): Internal generic functions
(setf header-encoding): Internal generic functions
(setf index): Internal generic functions
(setf index): Internal generic functions
(setf isextended): Exported generic functions
(setf isextended): Exported generic functions
(setf linkname): Exported generic functions
(setf linkname): Exported generic functions
(setf linkname): Exported generic functions
(setf linkname): Exported generic functions
(setf long-link-name): Internal generic functions
(setf long-link-name): Internal generic functions
(setf long-name): Internal generic functions
(setf long-name): Internal generic functions
(setf longnames): Internal generic functions
(setf longnames): Internal generic functions
(setf magic): Internal generic functions
(setf magic): Internal generic functions
(setf magic): Internal generic functions
(setf mode): Exported generic functions
(setf mode): Exported generic functions
(setf mode): Exported generic functions
(setf mode): Exported generic functions
(setf mtime): Exported generic functions
(setf mtime): Exported generic functions
(setf mtime): Exported generic functions
(setf mtime): Exported generic functions
(setf n-bytes-remaining): Internal generic functions
(setf n-bytes-remaining): Internal generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf next-entry-start): Internal generic functions
(setf next-entry-start): Internal generic functions
(setf numbytes-sparse-0): Exported generic functions
(setf numbytes-sparse-0): Exported generic functions
(setf numbytes-sparse-1): Exported generic functions
(setf numbytes-sparse-1): Exported generic functions
(setf numbytes-sparse-2): Exported generic functions
(setf numbytes-sparse-2): Exported generic functions
(setf numbytes-sparse-3): Internal generic functions
(setf numbytes-sparse-3): Internal generic functions
(setf offset): Exported generic functions
(setf offset): Exported generic functions
(setf offset-sparse-0): Exported generic functions
(setf offset-sparse-0): Exported generic functions
(setf offset-sparse-1): Exported generic functions
(setf offset-sparse-1): Exported generic functions
(setf offset-sparse-2): Exported generic functions
(setf offset-sparse-2): Exported generic functions
(setf offset-sparse-3): Exported generic functions
(setf offset-sparse-3): Exported generic functions
(setf open-tar-file-p): Internal generic functions
(setf open-tar-file-p): Internal generic functions
(setf prefix): Exported generic functions
(setf prefix): Exported generic functions
(setf realsize): Exported generic functions
(setf realsize): Exported generic functions
(setf size): Exported generic functions
(setf size): Exported generic functions
(setf size): Exported generic functions
(setf size): Exported generic functions
(setf start-file-position): Internal generic functions