MCPcopy Index your code
hub / github.com/xerrors/Yuxi / deleteSkillFile

Function deleteSkillFile

web/src/apis/skill_api.js:85–87  ·  view source on GitHub ↗
(slug, path)

Source from the content-addressed store, hash-verified

83}
84
85export const deleteSkillFile = async (slug, path) => {
86 return apiDelete(`${BASE_URL}/${encodeURIComponent(slug)}/file?path=${encodeURIComponent(path)}`)
87}
88
89export const exportSkill = async (slug) => {
90 return apiGet(`${BASE_URL}/${encodeURIComponent(slug)}/export`, {}, true, 'blob')

Callers

nothing calls this directly

Calls 1

apiDeleteFunction · 0.90

Tested by

no test coverage detected