Skip to content

Commit 6cde0eb

Browse files
Update key documentation for Matter.framework storage. (#34359)
1 parent 0840ca6 commit 6cde0eb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/darwin/Framework/CHIP/MTRDemuxingStorage.mm

+8
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ static bool IsMemoryOnlyGlobalKey(NSString * key)
144144

145145
// We do not expect to see the "g/a/*" keys for attribute values.
146146

147+
// We do not expect to see the "g/sa/*" keys for attribute values.
148+
147149
// We do not expect to see the "g/bt" and "g/bt/*" keys for the binding
148150
// table.
149151

@@ -162,6 +164,9 @@ static bool IsMemoryOnlyGlobalKey(NSString * key)
162164
// We do not expect to see the "g/icd/cic" key; that's only used for an ICD
163165
// that sends check-in messages.
164166

167+
// We do not expect to see the "g/icdfl" key; that's only used by
168+
// DefaultICDClientStorage, which Matter.framework does not use.
169+
165170
return false;
166171
}
167172

@@ -215,6 +220,9 @@ static bool IsMemoryOnlyIndexSpecificKey(NSString * key)
215220

216221
// We do not expect to see the "e/*" scenes keys.
217222

223+
// We do not epect to see the "icdc" or "icdk" keys, since those are only
224+
// used by DefaultICDClientStorage, which Matter.framework does not use.
225+
218226
return false;
219227
}
220228

0 commit comments

Comments
 (0)