MCPcopy Create free account
hub / github.com/SignTools/SignTools / deleteApp

Function deleteApp

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

Source from the content-addressed store, hash-verified

454}
455
456func deleteApp(c echo.Context, app storage.App) error {
457 if err := storage.Apps.Delete(app.GetId()); err != nil {
458 return err
459 }
460 return c.Redirect(302, "/")
461}
462
463func getManifest(c echo.Context, app storage.App) error {
464 manifestBytes, err := makeManifest(getBaseUrl(c), app)

Callers

nothing calls this directly

Calls 2

GetIdMethod · 0.65
DeleteMethod · 0.45

Tested by

no test coverage detected