[3.12] gh-89159: Document missing TarInfo members (GH-91564) (#114006)

gh-89159: Document missing TarInfo members (GH-91564)
(cherry picked from commit 3aa4b839e4)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2024-01-13 00:26:08 +01:00 committed by GitHub
parent d577225104
commit 1ea6658342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -832,6 +832,36 @@ A ``TarInfo`` object has the following public data attributes:
:meth:`~TarFile.extractall`, causing extraction to skip applying this
attribute.
.. attribute:: TarInfo.chksum
Header checksum.
.. attribute:: TarInfo.devmajor
Device major number.
.. attribute:: TarInfo.devminor
Device minor number.
.. attribute:: TarInfo.offset
The tar header starts here.
.. attribute:: TarInfo.offset_data
The file's data starts here.
.. attribute:: TarInfo.sparse
Sparse member information.
.. attribute:: TarInfo.pax_headers
:type: dict