Entry
public struct Entry : Equatable
A value that represents a file, a directory or a symbolic link within a ZIP Archive
.
You can retrieve instances of Entry
from an Archive
via subscripting or iteration.
Entries are identified by their path
.
-
The
path
of the receiver within a ZIPArchive
.Declaration
Swift
public var path: String { get }
-
The file attributes of the receiver as key/value pairs.
Contains the modification date and file permissions.
Declaration
Swift
public var fileAttributes: [FileAttributeKey : Any] { get }
-
Indicates whether or not the receiver is compressed.
Declaration
Swift
public var isCompressed: Bool { get }
-
The size of the receiver’s compressed data.
Declaration
Swift
public var compressedSize: UInt64 { get }
-
The size of the receiver’s uncompressed data.
Declaration
Swift
public var uncompressedSize: UInt64 { get }
-
Declaration
Swift
public static func == (lhs: Entry, rhs: Entry) -> Bool