mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Temp
This commit is contained in:
14
submodules/TelegramUI/Sources/LegacyCache.swift
Normal file
14
submodules/TelegramUI/Sources/LegacyCache.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user