-
Declaration
Swift
public var info: TarEntryInfo -
Entry’s data (
nilif entry is a directory or data isn’t available).Note
Accessing setter of this property causesinfo.sizeto be updated as well so it remains equal todata.count. Ifdatais set to beniltheninfo.sizeis set to zero.Declaration
Swift
public var data: Data? { get set } -
Initializes the entry with its info and data. The stored
info.sizewill also be updated to be equal todata.count. Ifdataisniltheninfo.sizewill be set to zero.Declaration
Swift
public init(info: TarEntryInfo, data: Data?)Parameters
infoInformation about entry.
dataEntry’s data;
nilif entry is a directory or data isn’t available.
View on GitHub
TarEntry Structure Reference