2015-06-20 14:33:14 +00:00
|
|
|
/*
|
|
|
|
Package storage is for metadata of a tar archive.
|
|
|
|
|
|
|
|
Packing and unpacking the Entries of the stream. The types of streams are
|
|
|
|
either segments of raw bytes (for the raw headers and various padding) and for
|
|
|
|
an entry marking a file payload.
|
|
|
|
|
2015-08-11 20:27:05 +00:00
|
|
|
The raw bytes are stored precisely in the packed (marshalled) Entry, whereas
|
2015-06-20 14:33:14 +00:00
|
|
|
the file payload marker include the name of the file, size, and crc64 checksum
|
|
|
|
(for basic file integrity).
|
|
|
|
*/
|
|
|
|
package storage
|