We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f65261 commit a783106Copy full SHA for a783106
Sources/OpenSwiftUICore/Data/Util/ObjectCache.swift
@@ -2,9 +2,9 @@
2
// ObjectCache.swift
3
// OpenSwiftUICore
4
//
5
-// Audited for 6.0.87
+// Audited for 6.5.4
6
// Status: Complete
7
-// ID: FCB2944DC319042A861E82C8B244E212
+// ID: FCB2944DC319042A861E82C8B244E212 (SwiftUICore)
8
9
final package class ObjectCache<Key, Value> where Key: Hashable {
10
let constructor: (Key) -> Value
Tests/OpenSwiftUICoreTests/Data/Util/ObjectCacheTests.swift
@@ -11,13 +11,13 @@ struct ObjectCacheTests {
11
let table = [
12
0: "0",
13
1: "1",
14
- 2: "2"
+ 2: "2",
15
]
16
17
var accessCounts = [
18
0: 0,
19
1: 0,
20
- 2: 0
+ 2: 0,
21
22
23
let cache: ObjectCache<Int, String> = ObjectCache { key in
0 commit comments