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

Method setData

packages/decap-cms-lib-util/src/Cursor.ts:143–145  ·  view source on GitHub ↗
(data: {})

Source from the content-addressed store, hash-verified

141 }
142
143 setData(data: {}) {
144 return new Cursor(this.store!.set('data', jsToMap(data)));
145 }
146 mergeData(data: {}) {
147 return new Cursor(this.store!.mergeIn(['data'], jsToMap(data)));
148 }

Callers

nothing calls this directly

Calls 2

jsToMapFunction · 0.85
setMethod · 0.80

Tested by

no test coverage detected