SwiftZip Documentation Beta

Structure Zip​Mutable​Archive.​Mutable​Open​Flags

public struct MutableOpenFlags: OptionSet

A set of flags to be used with ZipMutableArchive.init.

%3 ZipMutableArchive.MutableOpenFlags ZipMutableArchive.MutableOpenFlags OptionSet OptionSet ZipMutableArchive.MutableOpenFlags->OptionSet

Member Of

ZipMutableArchive

An mutable archive.

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int32)

Properties

raw​Value

let rawValue: Int32

check​Consistency

let checkConsistency

Perform additional stricter consistency checks on the archive, and error if they fail.

create

let create

Create the archive if it does not exist.

exclusive

let exclusive

Error if archive already exists.

truncate

let truncate

If archive exists, ignore its current contents. In other words, handle it the same way as an empty archive.