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

Method setMeta

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

Source from the content-addressed store, hash-verified

161 }
162
163 setMeta(meta: {}) {
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))),

Callers

nothing calls this directly

Calls 3

updateStoreMethod · 0.95
jsToMapFunction · 0.85
setMethod · 0.80

Tested by

no test coverage detected