MCPcopy Index your code
hub / github.com/AutoForgeAI/autoforge / getFeature

Function getFeature

ui/src/lib/api.ts:146–148  ·  view source on GitHub ↗
(projectName: string, featureId: number)

Source from the content-addressed store, hash-verified

144}
145
146export async function getFeature(projectName: string, featureId: number): Promise<Feature> {
147 return fetchJSON(`/projects/${encodeURIComponent(projectName)}/features/${featureId}`)
148}
149
150export async function deleteFeature(projectName: string, featureId: number): Promise<void> {
151 await fetchJSON(`/projects/${encodeURIComponent(projectName)}/features/${featureId}`, {

Callers

nothing calls this directly

Calls 1

fetchJSONFunction · 0.85

Tested by

no test coverage detected