SwiftZip Documentation Beta

Structure Zip​Archive.​Locate​Flags

public struct LocateFlags: OptionSet

A set of flags to be used with ZipArchive name-based APIs: locate, stat and open.

%3 ZipArchive.LocateFlags ZipArchive.LocateFlags OptionSet OptionSet ZipArchive.LocateFlags->OptionSet

Member Of

ZipArchive

An read-only archive.

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: UInt32)

Properties

raw​Value

let rawValue: UInt32

case​Insensitive

let caseInsensitive

Ignore case distinctions. (Will only work well if the file names are ASCII.) With this flag, operation will be slow for archives with many files.

ignore​Directory

let ignoreDirectory

Ignore directory part of file name in archive. With this flag, operation will be slow for archives with many files.