mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
15 lines
317 B
Swift
15 lines
317 B
Swift
import Foundation
|
|
import LegacyComponents
|
|
|
|
public final class LegacyCache {
|
|
private let impl: TGCache
|
|
|
|
public init(path: String) {
|
|
self.impl = TGCache(cachesPath: path)
|
|
}
|
|
|
|
public func path(forCachedData id: String) -> String? {
|
|
return self.impl.path(forCachedData: id)
|
|
}
|
|
}
|