From 6558135191438b0bce1f8e2134671f1c6a478f2e Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 2 Dec 2024 20:58:23 -0800 Subject: [PATCH] Make isExpired public. --- RSWeb/Sources/RSWeb/CacheControlInfo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RSWeb/Sources/RSWeb/CacheControlInfo.swift b/RSWeb/Sources/RSWeb/CacheControlInfo.swift index 69766b17a..4b26ca922 100644 --- a/RSWeb/Sources/RSWeb/CacheControlInfo.swift +++ b/RSWeb/Sources/RSWeb/CacheControlInfo.swift @@ -15,7 +15,7 @@ public struct CacheControlInfo: Codable, Equatable { let dateCreated: Date let maxAge: TimeInterval - var isExpired: Bool { + public var isExpired: Bool { Date() > dateExpired } var dateExpired: Date {