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

Method setActions

packages/decap-cms-lib-util/src/Cursor.ts:132–134  ·  view source on GitHub ↗
(actions: Iterable<string>)

Source from the content-addressed store, hash-verified

130 return this.updateStore('actions', (actions: Set<string>) => actions.delete(action));
131 }
132 setActions(actions: Iterable<string>) {
133 return this.updateStore((store: CursorStore) => store.set('actions', Set<string>(actions)));
134 }
135 mergeActions(actions: Set<string>) {
136 return this.updateStore('actions', (oldActions: Set<string>) => oldActions.union(actions));
137 }

Callers

nothing calls this directly

Calls 2

updateStoreMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected