MCPcopy Create free account
hub / github.com/convox/rack / ProcessExecValidate

Method ProcessExecValidate

pkg/api/validation.go:23–29  ·  view source on GitHub ↗
(c *stdapi.Context)

Source from the content-addressed store, hash-verified

21}
22
23func (s *Server) ProcessExecValidate(c *stdapi.Context) error {
24 if _, err := s.Provider.AppGet(c.Var("app")); err != nil {
25 return err
26 }
27
28 return nil
29}
30
31func (s *Server) ProcessRunValidate(c *stdapi.Context) error {
32 if _, err := s.Provider.AppGet(c.Var("app")); err != nil {

Callers

nothing calls this directly

Calls 1

AppGetMethod · 0.65

Tested by

no test coverage detected