MCPcopy
hub / github.com/1Panel-dev/MaxKB / delDocument

Function delDocument

ui/src/api/system-resource-management/document.ts:93–95  ·  view source on GitHub ↗
(knowledge_id, document_id, loading)

Source from the content-addressed store, hash-verified

91 document_id: string,
92 loading?: Ref<boolean>,
93) => Promise<Result<boolean>> = (knowledge_id, document_id, loading) => {
94 return del(`${prefix}/${knowledge_id}/document/${document_id}`, loading)
95}
96
97/**
98 * 批量取消文档任务

Callers

nothing calls this directly

Calls 1

delFunction · 0.90

Tested by

no test coverage detected