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

Function getSkillFile

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

Source from the content-addressed store, hash-verified

57}
58
59export const getSkillFile = async (slug, path) => {
60 return apiGet(`${BASE_URL}/${encodeURIComponent(slug)}/file?path=${encodeURIComponent(path)}`)
61}
62
63export const createSkillFile = async (slug, payload) => {
64 return apiPost(`${BASE_URL}/${encodeURIComponent(slug)}/file`, payload)

Callers

nothing calls this directly

Calls 1

apiGetFunction · 0.90

Tested by

no test coverage detected