downloadAndExtract(progressHandler:)¶
Downloads and extracts the archive with the tar command into a temporary directory.
Declaration
mutating func downloadAndExtract(
progressHandler: (
@Sendable
(
Progress
) async -> Void
)? = nil
) async throws
Parameters
progressHandler: Called to report the progress. Takes a
Progress.
Discussion
Sets the downloadedCacheURL variable.