MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / file_detail

Function file_detail

apps/admin/views.py:362–367  ·  view source on GitHub ↗
(
    id: int,
    file_service: FileService = Depends(get_file_service),
)

Source from the content-addressed store, hash-verified

360
361@admin_api.get("/file/detail")
362async def file_detail(
363 id: int,
364 file_service: FileService = Depends(get_file_service),
365):
366 detail = await file_service.get_file_detail(id)
367 return APIResponse(detail=detail)
368
369
370@admin_api.post("/file/detail")

Callers

nothing calls this directly

Calls 2

APIResponseClass · 0.90
get_file_detailMethod · 0.80

Tested by

no test coverage detected