Bläddra i källkod

Merge branch 'master' into v8

# Conflicts:
#	Sources/Cache/DiskStorage.swift
onevcat 1 år sedan
förälder
incheckning
27947eb821
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      Sources/Cache/DiskStorage.swift
  2. 2 2
      Sources/General/KFOptionsSetter.swift

+ 1 - 1
Sources/Cache/DiskStorage.swift

@@ -408,7 +408,7 @@ public enum DiskStorage {
         ///
         /// This method checks ``DiskStorage/Config/sizeLimit`` and removes cached files in an LRU
         /// (Least Recently Used) way.
-        func removeSizeExceededValues() throws -> [URL] {
+        public func removeSizeExceededValues() throws -> [URL] {
 
             if config.sizeLimit == 0 { return [] } // Back compatible. 0 means no limit.
 

+ 2 - 2
Sources/General/KFOptionsSetter.swift

@@ -65,8 +65,8 @@ extension KFOptionSetter {
         return self
     }
 
-    /// Sets the the done block to current builder.
-    /// - Parameter block: Called when the image task successfully completes and the the image set is done. If `block`
+    /// Sets the done block to current builder.
+    /// - Parameter block: Called when the image task successfully completes and the image set is done. If `block`
     ///                    is `nil`, the callback will be reset.
     /// - Returns: A `Self` with changes applied.
     ///