public class DiskFileStorage
public init(type: PathType = PathType.document(folder: "default"))
func size() throws -> UInt64
func files() throws -> [File]
func set<T: Codable>(value: T, for key: String) -> Bool
func get<T: Codable>(key: String) -> T?
set(data:for:completion:)
func set(data: Data?, for key: String, completion: ((Bool) -> Void)? = nil)
func get(key: String, completion: ((Data?) -> Void)? = nil)
func set(data: Data?, for key: String) -> Bool
func get(key: String) -> Data?
createDirectoryIfNeeded(url:)
private func createDirectoryIfNeeded(url: String) throws
func remove(key: String) -> Bool
func remove(expired before: Date) -> Bool