Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: cpan
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 48 lines (36 sloc) 1.363 kb
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 46 47
The delta file is a compressed tarball, containing the following files:

version
Currently "2.0" or "3.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 .bz2 wrapper for the
tarball. Optional, if not present a pristine .gz won't be generated.


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.
delta
xdelta between the generated gz file and the original gz file.
(Optional; needs version "3.0".)


For bzip2 files the wrapper contains:

params
Typically, only the compression level is needed (4th byte of the
compressed file), and its matching parameter stored: -N.
In some cases a -bN parameter is detected and stored.
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, -pN).

It may also be zgz (the params will include --old-bzip2 in this
case).
Something went wrong with that request. Please try again.