Swiftgram/TelegramUI/LegacyCache.swift
2019-02-15 17:31:44 +04:00

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)
}
}