summaryrefslogtreecommitdiffstats
path: root/Doc/library/tarfile.rst
diff options
context:
space:
mode:
authorStanley <46876382+slateny@users.noreply.github.com>2024-01-12 23:19:57 (GMT)
committerGitHub <noreply@github.com>2024-01-12 23:19:57 (GMT)
commit3aa4b839e4aa01d4e8bc5c7685fd0eb17c4609b8 (patch)
tree33b32b72e14cb48ef614813b7b248e89d0f8ae0c /Doc/library/tarfile.rst
parent3c19ee0422e9b9f1582fb74931c174a84583bca0 (diff)
downloadcpython-3aa4b839e4aa01d4e8bc5c7685fd0eb17c4609b8.zip
cpython-3aa4b839e4aa01d4e8bc5c7685fd0eb17c4609b8.tar.gz
cpython-3aa4b839e4aa01d4e8bc5c7685fd0eb17c4609b8.tar.bz2
gh-89159: Document missing TarInfo members (#91564)
Diffstat (limited to 'Doc/library/tarfile.rst')
-rw-r--r--Doc/library/tarfile.rst30
1 files changed, 30 insertions, 0 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
index 7ba29d4..34a738a 100644
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -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