MCPcopy
hub / github.com/gotify/server / applicationExists

Method applicationExists

api/application.go:453–456  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

451}
452
453func (a *ApplicationAPI) applicationExists(token string) bool {
454 app, _ := a.DB.GetApplicationByToken(token)
455 return app != nil
456}
457
458func exist(path string) bool {
459 if _, err := os.Stat(path); os.IsNotExist(err) {

Callers

nothing calls this directly

Calls 1

GetApplicationByTokenMethod · 0.65

Tested by

no test coverage detected