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

Function theme_asset

main.py:832–833  ·  view source on GitHub ↗
(asset_path: str)

Source from the content-addressed store, hash-verified

830
831@app.get("/assets/{asset_path:path}", include_in_schema=False)
832async def theme_asset(asset_path: str):
833 return FileResponse(resolve_theme_file("assets", asset_path))
834
835
836@app.exception_handler(404)

Callers

nothing calls this directly

Calls 1

resolve_theme_fileFunction · 0.85

Tested by

no test coverage detected