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

Method clearData

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

Source from the content-addressed store, hash-verified

158 ] as [Map<string, unknown>, Cursor];
159 }
160 clearData() {
161 return this.updateStore('data', () => Map());
162 }
163
164 setMeta(meta: {}) {
165 return this.updateStore((store: CursorStore) => store.set('meta', jsToMap(meta)));

Callers 1

Calls 2

updateStoreMethod · 0.95
MapInterface · 0.85

Tested by

no test coverage detected