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

Function get_local_lists

apps/admin/views.py:521–525  ·  view source on GitHub ↗
(
    local_file_service: LocalFileService = Depends(get_local_file_service),
)

Source from the content-addressed store, hash-verified

519
520@admin_api.get("/local/lists")
521async def get_local_lists(
522 local_file_service: LocalFileService = Depends(get_local_file_service),
523):
524 files = await local_file_service.list_files()
525 return APIResponse(detail=files)
526
527
528@admin_api.delete("/local/delete")

Callers

nothing calls this directly

Calls 2

APIResponseClass · 0.90
list_filesMethod · 0.45

Tested by

no test coverage detected