MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / deleteSource

Function deleteSource

e2e/cli/custom-tools-packed.test.ts:199–204  ·  view source on GitHub ↗
(target: TargetShape, identity: Identity, slug: string)

Source from the content-addressed store, hash-verified

197 );
198
199const deleteSource = (target: TargetShape, identity: Identity, slug: string): Effect.Effect<void> =>
200 Effect.promise(() =>
201 request(target, identity, `/api/apps/sources/${slug}`, { method: "DELETE" }).then(
202 () => undefined,
203 ),
204 ).pipe(Effect.ignore);
205
206const syncAndInvoke = (input: {
207 readonly target: TargetShape;

Callers 1

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected