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

Method clearData

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

Source from the content-addressed store, hash-verified

157 ] as [Map<string, unknown>, Cursor];
158 }
159 clearData() {
160 return this.updateStore('data', () => Map());
161 }
162
163 setMeta(meta: {}) {
164 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