MCPcopy Create free account
hub / github.com/ShipSecAI/studio / delete

Function delete

backend/src/workflows/__tests__/workflows.controller.spec.ts:217–224  ·  view source on GitHub ↗
(id, options: RepositoryOptions = {})

Source from the content-addressed store, hash-verified

215 return record;
216 },
217 async delete(id, options: RepositoryOptions = {}) {
218 const record = repositoryStore.get(id);
219 if (!record) return;
220 if (options.organizationId && record.organizationId !== options.organizationId) {
221 return;
222 }
223 repositoryStore.delete(id);
224 },
225 async list(options: RepositoryOptions = {}) {
226 const list = Array.from(repositoryStore.values());
227 if (options.organizationId) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
deleteMethod · 0.45

Tested by

no test coverage detected