MCPcopy Create free account
hub / github.com/xerrors/Yuxi / handleDeleteFile

Function handleDeleteFile

web/src/stores/database.js:177–185  ·  view source on GitHub ↗
(fileId)

Source from the content-addressed store, hash-verified

175 }
176
177 function handleDeleteFile(fileId) {
178 Modal.confirm({
179 title: '删除文件',
180 content: '确定要删除该文件吗?',
181 okText: '确认',
182 cancelText: '取消',
183 onOk: () => deleteFile(fileId)
184 })
185 }
186
187 function handleBatchDelete() {
188 const files = database.value.files || {}

Callers

nothing calls this directly

Calls 1

deleteFileFunction · 0.85

Tested by

no test coverage detected