MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / index_post

Function index_post

codewiki/src/fe/web_app.py:49–51  ·  view source on GitHub ↗

Handle repository submission.

(request: Request, repo_url: str = Form(...), commit_id: str = Form(""))

Source from the content-addressed store, hash-verified

47
48@app.post("/", response_class=HTMLResponse)
49async def index_post(request: Request, repo_url: str = Form(...), commit_id: str = Form("")):
50 """Handle repository submission."""
51 return await web_routes.index_post(request, repo_url, commit_id)
52
53
54@app.get("/api/job/{job_id}")

Callers

nothing calls this directly

Calls 1

index_postMethod · 0.80

Tested by

no test coverage detected