ReadViewSDK/ReadViewDemo/Pods/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIPDeprecated.swift
2026-05-21 19:40:51 +08:00

19 lines
603 B
Swift

//
// FileManager+ZIPDeprecated.swift
// ZIPFoundation
//
// Created by Thomas Zoechling on 06.02.23.
//
import Foundation
public extension FileManager {
@available(*, deprecated, renamed: "unzipItem(at:to:skipCRC32:progress:pathEncoding:)")
func unzipItem(at sourceURL: URL, to destinationURL: URL, skipCRC32: Bool = false,
progress: Progress? = nil, preferredEncoding: String.Encoding?) throws {
try self.unzipItem(at: sourceURL, to: destinationURL, skipCRC32: skipCRC32,
progress: progress, pathEncoding: preferredEncoding)
}
}