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

Method setData

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

jsToMapFunction · 0.85
setMethod · 0.80

Tested by

no test coverage detected