feat: Add support for UNIX-specific tar info

This commit is contained in:
Felix Pojtinger
2021-11-14 20:24:17 +01:00
parent 004ef4ea3d
commit e3f038c119
6 changed files with 27 additions and 32 deletions

View File

@@ -35,17 +35,6 @@ create table headers (
devmajor integer not null,
-- Minor device number (valid for TypeChar or TypeBlock)
devminor integer not null,
-- PAXRecords is a map of PAX extended header records.
--
-- User-defined records should have keys of the following form:
-- VENDOR.keyword
-- Where VENDOR is some namespace in all uppercase, and keyword may
-- not contain the '=' character (e.g., "GOLANG.pkg.version").
-- The key and value should be non-empty UTF-8 strings.
--
-- When Writer.WriteHeader is called, PAX records derived from the
-- other fields in Header take precedence over PAXRecords.
paxrecords text not null,
-- Format specifies the format of the tar header.
--
-- This is set by Reader.Next as a best-effort guess at the format.