From db85b7e56d7e303b36c9fa453a4f72119f4c3564 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Fri, 15 Apr 2022 00:29:13 -0700 Subject: [PATCH] Add missing TarInfo members --- Doc/library/tarfile.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index f5c49b0ac4f738..e38a352ef2b9d2 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -620,6 +620,36 @@ A ``TarInfo`` object has the following public data attributes: Group name. +.. 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 A dictionary containing key-value pairs of an associated pax extended header.