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

Method removeAction

packages/decap-cms-lib-util/src/Cursor.ts:129–131  ·  view source on GitHub ↗
(action: string)

Source from the content-addressed store, hash-verified

127 return this.updateStore('actions', (actions: Set<string>) => actions.add(action));
128 }
129 removeAction(action: string) {
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 }

Callers

nothing calls this directly

Calls 2

updateStoreMethod · 0.95
deleteMethod · 0.65

Tested by

no test coverage detected