MCPcopy
hub / github.com/sunnylqm/react-native-storage / _checkMap

Method _checkMap

storage.js:66–73  ·  view source on GitHub ↗
(map)

Source from the content-addressed store, hash-verified

64 };
65 }
66 _checkMap(map) {
67 if(map && map.innerVersion && map.innerVersion === this._innerVersion ) {
68 return map;
69 }
70 else {
71 return this._initMap();
72 }
73 }
74 _getId(key, id) {
75 return key + '_' + id;
76 }

Callers 1

constructorMethod · 0.95

Calls 1

_initMapMethod · 0.95

Tested by

no test coverage detected