]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add read support for all missing variants of the GNU sparse
authorLars Gustäbel <lars@gustaebel.de>
Fri, 29 Oct 2010 09:08:19 +0000 (09:08 +0000)
committerLars Gustäbel <lars@gustaebel.de>
Fri, 29 Oct 2010 09:08:19 +0000 (09:08 +0000)
commit9cbdd75ec5deda8f55edd7caab42dff65d009da2
tree95b2e754a4de902227d69539df787d7b6935c178
parent3122ce3e5d9c235619f44c6f32e5636a40b6f0be
Add read support for all missing variants of the GNU sparse
extensions. Thus, in addition to GNUTYPE_SPARSE headers, sparse
information in pax headers created by GNU tar can now be decoded.
All three formats 0.0, 0.1 and 1.0 are supported.
On filesystems that support this, holes in files are now restored
whenever a sparse member is extracted.
Doc/library/tarfile.rst
Lib/tarfile.py
Lib/test/test_tarfile.py
Lib/test/testtar.tar
Misc/NEWS