MCPcopy Index your code
hub / github.com/SignTools/SignTools / getManifest

Function getManifest

main.go:463–469  ·  view source on GitHub ↗
(c echo.Context, app storage.App)

Source from the content-addressed store, hash-verified

461}
462
463func getManifest(c echo.Context, app storage.App) error {
464 manifestBytes, err := makeManifest(getBaseUrl(c), app)
465 if err != nil {
466 return err
467 }
468 return c.Blob(200, "text/plain", manifestBytes)
469}
470
471func getBaseUrl(c echo.Context) string {
472 var host = ""

Callers

nothing calls this directly

Calls 2

makeManifestFunction · 0.85
getBaseUrlFunction · 0.85

Tested by

no test coverage detected