mirror of https://github.com/python/cpython
gh-89159: Document missing TarInfo members (#91564)
This commit is contained in:
parent
3c19ee0422
commit
3aa4b839e4
|
@ -837,6 +837,36 @@ A ``TarInfo`` object has the following public data attributes:
|
||||||
:meth:`~TarFile.extractall`, causing extraction to skip applying this
|
:meth:`~TarFile.extractall`, causing extraction to skip applying this
|
||||||
attribute.
|
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
|
.. attribute:: TarInfo.pax_headers
|
||||||
:type: dict
|
:type: dict
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue