TarInfo
Objects store information about a TarFile
entry. Their instances
are returned by TarFile's
methods getinfo()
, infolist()
,
next()
and in Iteration.
TarInfo
instances are created by TarFile
instances. In addition to
that the user has the possibility to create them himself, for further use with TarFile's writestr()
.
filename is the wanted name of the file in the TarFile
.
date_time is a tuple of date and time, see below.TarInfo
class stores the following data attributes:
zipfile compatibles:
(year, month, day, hour, minute, second)
REGTYPE
, AREGTYPE
and CONTTYPE
have a size of 0
.tarfile specific
(most of them are only relevant for *NIX platforms):