Metadata
public struct Metadata
A type representing backup metadata.
-
The name of the file in which the backup was originally stored on export. The app uses a naming convention that includes the date and time at which the backup was created: hl<date>@<time>.bak.
Declaration
Swift
public let filename: String -
The value stored in the backup against the
hashkey. Observed to be unique for every backup and presumably used to verify integrity on restore.Declaration
Swift
public let hash: Int -
The value stored in the backup against the
purgedkey. Purpose unknown.Declaration
Swift
public let purged: Bool -
The value stored in the backup against the
restorekey. Purpose unknown.Declaration
Swift
public let restore: [Int] -
The value stored in the backup against the
versionkey. Presumably indicates the data format of the backup, perhaps for a compatibility check on restore.Declaration
Swift
public let version: Int
View on GitHub
Metadata Struct Reference