@@ -667,7 +667,7 @@ open class ImageCache: @unchecked Sendable {
667
667
/// as a result. Otherwise, a ``KingfisherError`` result with detailed failure reason will be sent.
668
668
///
669
669
/// > This method is marked as `open` for compatibility purposes only. Do not override this method. Instead,
670
- /// override the version ``ImageCache/retrieveImage (forKey:options:callbackQueue:completionHandler:)-1m1bb`` that
670
+ /// override the version ``ImageCache/retrieveImageInDiskCache (forKey:options:callbackQueue:completionHandler:)``
671
671
/// accepts a ``KingfisherParsedOptionsInfo`` value.
672
672
open func retrieveImage(
673
673
forKey key: String ,
@@ -938,7 +938,7 @@ open class ImageCache: @unchecked Sendable {
938
938
///
939
939
/// > The return value does not contain information about the kind of storage the cache matches from.
940
940
/// > To obtain information about the cache type according to ``CacheType``, use
941
- /// ``ImageCache/imageCachedType(forKey:processorIdentifier:)`` instead.
941
+ /// ``ImageCache/imageCachedType(forKey:processorIdentifier:forcedExtension: )`` instead.
942
942
public func isCached(
943
943
forKey key: String ,
944
944
processorIdentifier identifier: String = DefaultImageProcessor . default. identifier,
@@ -1009,7 +1009,7 @@ open class ImageCache: @unchecked Sendable {
1009
1009
/// > This method does not guarantee that there is an image already cached in the returned path. It simply provides
1010
1010
/// > the path where the image should be if it exists in the disk storage.
1011
1011
/// >
1012
- /// > You could use the ``ImageCache/isCached(forKey:processorIdentifier:)`` method to check whether the image is
1012
+ /// > You could use the ``ImageCache/isCached(forKey:processorIdentifier:forcedExtension: )`` method to check whether the image is
1013
1013
/// cached under that key on disk if necessary.
1014
1014
open func cachePath(
1015
1015
forKey key: String ,
@@ -1083,6 +1083,7 @@ open class ImageCache: @unchecked Sendable {
1083
1083
/// - key: The key used for caching the image.
1084
1084
/// - identifier: The identifier of the processor being used for caching. If you are using a processor for the
1085
1085
/// image, pass the identifier of the processor to this parameter.
1086
+ /// - forcedExtension: The file extension, if exists.
1086
1087
/// - serializer: The ``CacheSerializer`` used to convert the `image` and `original` to the data that will be
1087
1088
/// stored to disk. By default, the ``DefaultCacheSerializer/default`` will be used.
1088
1089
/// - toDisk: Whether this image should be cached to disk or not. If `false`, the image is only cached in memory.
@@ -1138,6 +1139,7 @@ open class ImageCache: @unchecked Sendable {
1138
1139
/// - key: The key used for caching the image.
1139
1140
/// - identifier: The identifier of the processor being used for caching. If you are using a processor for the
1140
1141
/// image, pass the identifier of the processor to this parameter.
1142
+ /// - forcedExtension: The file extension, if exists.
1141
1143
/// - fromMemory: Whether this image should be removed from memory storage or not. If `false`, the image won't be
1142
1144
/// removed from the memory storage. The default is `true`.
1143
1145
/// - fromDisk: Whether this image should be removed from the disk storage or not. If `false`, the image won't be
@@ -1196,7 +1198,7 @@ open class ImageCache: @unchecked Sendable {
1196
1198
/// - Throws: An error of type ``KingfisherError``, if any error happens inside Kingfisher framework.
1197
1199
///
1198
1200
/// > This method is marked as `open` for compatibility purposes only. Do not override this method. Instead,
1199
- /// override the version ``ImageCache/retrieveImage(forKey:options:callbackQueue:completionHandler:)-1m1bb `` that
1201
+ /// override the version ``ImageCache/retrieveImage(forKey:options:callbackQueue:completionHandler:)-1jjo3 `` that
1200
1202
/// accepts a ``KingfisherParsedOptionsInfo`` value.
1201
1203
open func retrieveImage(
1202
1204
forKey key: String ,
0 commit comments