We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 895a033 commit a66aed7Copy full SHA for a66aed7
1 file changed
Sources/UsefulNetworkLayer/NetworkLayer/NetworkLayer+Cache.swift
@@ -36,13 +36,14 @@ extension NetworkLayer {
36
self.initialize()
37
}
38
39
- #if !os(macOS)
+
40
/**
41
Initialize cache with the specified capacity preferences and path.
42
- parameter memoryCapacity: The RAM demand. Set `0` if you don't want to use temporary memory
43
- parameter diskCapacity: The storage demand. Set `0` if you don't want to save cache indefinitely
44
- parameter diskPath: The path for the custom location in the storage to save
45
*/
46
+ #if !os(macOS)
47
override init(memoryCapacity: Int, diskCapacity: Int, diskPath path: String?) {
48
super.init(memoryCapacity: memoryCapacity, diskCapacity: diskCapacity, diskPath: path)
49
0 commit comments