Skip to content

Commit

Permalink
pythongh-89159: Document missing TarInfo members (python#91564)
Browse files Browse the repository at this point in the history
  • Loading branch information
slateny authored and kulikjak committed Jan 22, 2024
1 parent 461d770 commit be7c7eb
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 be7c7eb

Please sign in to comment.