MCPcopy Create free account
hub / github.com/decaporg/decap-cms / unwrapData

Method unwrapData

packages/decap-cms-lib-util/src/Cursor.ts:153–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 );
152 }
153 unwrapData() {
154 return [
155 this.store!.get('data').delete('wrapped_cursor_data'),
156 this.updateStore('data', (data: Map<string, unknown>) => data.get('wrapped_cursor_data')),
157 ] as [Map<string, unknown>, Cursor];
158 }
159 clearData() {
160 return this.updateStore('data', () => Map());
161 }

Callers 1

traverseCursorMethod · 0.80

Calls 3

updateStoreMethod · 0.95
getMethod · 0.80
deleteMethod · 0.65

Tested by

no test coverage detected