mirror of
https://github.com/hyperoslo/Cache.git
synced 2026-04-07 19:17:36 +00:00
Remove trailing whitespace
This commit is contained in:
@@ -45,7 +45,7 @@ public protocol StorageAware {
|
||||
Clears all expired objects.
|
||||
*/
|
||||
func removeExpiredObjects() throws
|
||||
|
||||
|
||||
/**
|
||||
Check if an expired object by the given key.
|
||||
- Parameter key: Unique key to identify the object.
|
||||
@@ -66,7 +66,7 @@ public extension StorageAware {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func isExpiredObject<T: Codable>(ofType type: T.Type, forKey key: String) throws -> Bool {
|
||||
do {
|
||||
let entry = try self.entry(ofType: type, forKey: key)
|
||||
|
||||
Reference in New Issue
Block a user