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

Function resetProject

ui/src/lib/api.ts:121–129  ·  view source on GitHub ↗
(
  name: string,
  fullReset: boolean = false
)

Source from the content-addressed store, hash-verified

119}
120
121export async function resetProject(
122 name: string,
123 fullReset: boolean = false
124): Promise<ResetProjectResponse> {
125 const params = fullReset ? '?full_reset=true' : ''
126 return fetchJSON(`/projects/${encodeURIComponent(name)}/reset${params}`, {
127 method: 'POST',
128 })
129}
130
131// ============================================================================
132// Features API

Callers

nothing calls this directly

Calls 1

fetchJSONFunction · 0.85

Tested by

no test coverage detected