MCPcopy Create free account
hub / github.com/codetainerapp/codetainer / RouteApiV1CodetainerFileDownload

Function RouteApiV1CodetainerFileDownload

http-handlers.go:639–670  ·  view source on GitHub ↗

FileDownload swagger:route GET /codetainer/{id}/file/download codetainer fileDownload Download a file from a codetainer. Requires path={path of file to download}. Returns the multipart messsage with the file bytes. Responses: default: APIErrorResponse 200: Object

(ctx *Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

LookupByNameOrIdMethod · 0.95
DownloadFileMethod · 0.95
jsonErrorFunction · 0.85
GetDatabaseMethod · 0.80
NewMethod · 0.65

Tested by

no test coverage detected