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

Method setActions

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

updateStoreMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected