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

Function deletePath

e2e/scenarios/custom-tools.test.ts:197–202  ·  view source on GitHub ↗
(
  target: TargetShape,
  identity: Identity,
  path: string,
)

Source from the content-addressed store, hash-verified

195 );
196
197const deletePath = (
198 target: TargetShape,
199 identity: Identity,
200 path: string,
201): Promise<{ readonly body: { readonly removed?: boolean }; readonly text: string }> =>
202 request(target, identity, path, { method: "DELETE" });
203
204const execute = (target: TargetShape, identity: Identity, code: string): Promise<ExecuteResponse> =>
205 postJson<ExecuteResponse>(target, identity, "/api/executions", {

Callers 1

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected