]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-89159: Document missing TarInfo members (#91564)
authorStanley <46876382+slateny@users.noreply.github.com>
Fri, 12 Jan 2024 23:19:57 +0000 (15:19 -0800)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2024 23:19:57 +0000 (23:19 +0000)
Doc/library/tarfile.rst

index 7ba29d4a40dedb225e4561d74e9ee8b226da62d1..34a738a7f1c41f001c3168827ed5259b8a827fb1 100644 (file)
@@ -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