Options
public struct Options : OptionSet, Sendable
A set of options to be executed prior to moving a downloaded file from the temporary URL
to the destination
URL
.
-
Specifies that intermediate directories for the destination URL should be created.
Declaration
Swift
public static let createIntermediateDirectories: DownloadRequest.Options
-
Specifies that any previous file at the destination
URL
should be removed.Declaration
Swift
public static let removePreviousFile: DownloadRequest.Options
-
Declaration
Swift
public let rawValue: Int
-
Declaration
Swift
public init(rawValue: Int)