changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/dat/tar.lisp

changeset 698: 96958d3eb5b0
parent: c40d2a41d7ce
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; tar.lisp --- Tarballs
2 
3 ;; Unix Tape Archive Formats.
4 
5 ;;; Commentary:
6 
7 ;; wiki: https://en.wikipedia.org/wiki/Tar_(computing)
8 ;; gnu-tar: https://www.gnu.org/software/tar/manual/html_node/Standard.html
9 
10 ;; ustar: https://wiki.osdev.org/USTAR
11 
12 ;; USTAR is the widely-available POSIX standard - PAX never really took off
13 ;; and CPIO is all but dead.
14 
15 ;;; Code:
16 (in-package :dat/tar)
17 
18 (defvar *tar-block-bytes* 512)
19 
20 (defvar *tar-record-blocks* 20)
21 
22 (defvar *tar-record-bytes* (* *tar-block-bytes* *tar-record-blocks*))
23 
24 (deferror tar-error () () (:auto t))
25 
26 (defclass archive () ())
27 
28 (defclass tar-archive (archive) ())
29 
30 (defclass tar-entry () ())