Skip to content

Commit

Permalink
gh-89159: Document missing TarInfo members (#91564)
Browse files Browse the repository at this point in the history
  • Loading branch information
slateny authored Jan 12, 2024
1 parent 3c19ee0 commit 3aa4b83
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Doc/library/tarfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,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

Expand Down

0 comments on commit 3aa4b83

Please sign in to comment.