MCPcopy Create free account
hub / github.com/21st-dev/21st-sdk / remove

Method remove

packages/node/src/client.ts:166–172  ·  view source on GitHub ↗
(params: RemoveFileParams)

Source from the content-addressed store, hash-verified

164 }
165
166 async remove(params: RemoveFileParams): Promise<void> {
167 const encodedPath = encodeURIComponent(params.path)
168 return this.client._fetch<void>(
169 `/v1/sandboxes/${params.sandboxId}/files?path=${encodedPath}`,
170 { method: "DELETE" },
171 )
172 }
173}
174
175/** @deprecated Use `sandboxes.exec({ sandboxId, command: 'git clone ...' })` instead. */

Callers 7

CopyMarkdownButtonFunction · 0.45
HighlightOnNavigateFunction · 0.45
MorphingDialogContentFunction · 0.45
onUpFunction · 0.45
onUpFunction · 0.45
renderHtmlToMarkdownFunction · 0.45
initSandboxesRouterFunction · 0.45

Calls 1

_fetchMethod · 0.45

Tested by

no test coverage detected