File: delta-format.txt

package info (click to toggle)
pristine-tar 0.17
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 116 kB
  • ctags: 123
  • sloc: perl: 1,014; ansic: 822; makefile: 16
file content (45 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
The delta file is a compressed tarball, containing the following files:

version
	Currently "2.0".
type
	Type of file this is a delta for ("tar", "gz", or "bz2").


For tar files, it contains:

manifest
	List of all files in the tarball, as output by `tar t`.
	Used to order files correctly when rebuilding it.
delta
	xdelta between the generated tarball and the original tarball.
wrapper
	Encapsulated delta file for the .gz (or other) wrapper for the
	tarball. Optional, if not present a pristine .gz won't be generated.

wrapper-bz2
	Might be replaced with "wrapper" once the experimental bzip2
	imeplementation reviewed.


For gz files, wrapper contains:

params
	Parameters to pass to zgz.
	("-n 9", "-M", "--rsyncable")
timestamp
	Timestamp of the original input file, in seconds from epoch.
filename
	Filename of the original input file.


For bzip2 files the wrapper contains:

params
	Currently, only the compression level is detected (4th byte of the
	compressed file), and its matching parameter stored: -N.

program
	Program used to compress. Almost everytime, it is bzip2 (or another
	implementation producing bit-identical results). pbzip2 might also be
	detected, but several parameters might interfere (-r, -bN, -pN).