Type Aliases
The following type aliases are available globally.
-
Closure type executed after a checksum calculation process finished.
Declaration
Swift
public typealias CompletionHandler = (Result<String, ChecksumError>) -> Void
-
Closure type executed after a multiple checksum calculation process finished.
Declaration
Swift
public typealias MultipleCompletionHandler = (Result<[ChecksumResult], ChecksumError>) -> Void
-
Closure type executed when monitoring the checksum process.
Declaration
Swift
public typealias ProgressHandler = (Progress) -> Void
-
A tuple containing a
Checksumable
and its optionalString
checksum.Declaration
Swift
public typealias ChecksumResult = (checksumable: Checksumable, checksum: String?)