Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
jsToMap
Function · 0.85
set
Method · 0.80
Tested by
no test coverage detected