Peter Iakovlev e9a4a9347a Revert "Rename directories [skip ci]"
This reverts commit 789438a27450dcbdee6065ebf096198ed3b90fec
2020-03-01 10:06:51 +00: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)
}
}