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

Method mergeMeta

packages/decap-cms-lib-util/src/Cursor.ts:166–170  ·  view source on GitHub ↗
(meta: {})

Source from the content-addressed store, hash-verified

164 return this.updateStore((store: CursorStore) => store.set('meta', jsToMap(meta)));
165 }
166 mergeMeta(meta: {}) {
167 return this.updateStore((store: CursorStore) =>
168 store.update('meta', (oldMeta: Map<string, unknown>) => oldMeta.merge(jsToMap(meta))),
169 );
170 }
171}
172
173// This is a temporary hack to allow cursors to be added to the

Callers 4

listFilesMethod · 0.80
traverseCursorMethod · 0.80
listFilesMethod · 0.80
traverseCursorMethod · 0.80

Calls 2

updateStoreMethod · 0.95
jsToMapFunction · 0.85

Tested by

no test coverage detected