MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / delete

Method delete

src/types/scriptcat.zh-CN.d.ts:1570–1570  ·  view source on GitHub ↗

删除文件或目录。

(path: string)

Source from the content-addressed store, hash-verified

1568
1569 /** 删除文件或目录。 */
1570 delete(path: string): Promise<{ success: true }>;
1571
1572 /** 从内部附件存储读取附件(如 LLM 生成的图片)。直接返回 Blob 对象,通过 structured clone 传递。 */
1573 readAttachment(id: string): Promise<ReadAttachmentResult>;

Callers 15

LoggerPageFunction · 0.65
renderFunction · 0.65
ToolsFunction · 0.65
toggleGroupCollapseFunction · 0.65
unmountFileTrackFunction · 0.65
deleteHandleFunction · 0.65
cleanupOldHandlesFunction · 0.65
urlMatchMethod · 0.65
clearRulesMethod · 0.65
clearModelEslintFixesFunction · 0.65
_setMethod · 0.65

Calls

no outgoing calls

Tested by 5

removeEntryFunction · 0.52
createMockRepoFunction · 0.52
createMockDirHandleFunction · 0.52
removeEntryFunction · 0.52
createMockDirHandleFunction · 0.52