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