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

Method BuildExport

pkg/api/controllers.go:206–221  ·  view source on GitHub ↗
(c *stdapi.Context)

Source from the content-addressed store, hash-verified

204}
205
206func (s *Server) BuildExport(c *stdapi.Context) error {
207 if err := s.hook("BuildExportValidate", c); err != nil {
208 return err
209 }
210
211 app := c.Var("app")
212 id := c.Var("id")
213 w := c
214
215 err := s.provider(c).WithContext(c.Context()).BuildExport(app, id, w)
216 if err != nil {
217 return err
218 }
219
220 return nil
221}
222
223func (s *Server) BuildGet(c *stdapi.Context) error {
224 if err := s.hook("BuildGetValidate", c); err != nil {

Callers

nothing calls this directly

Calls 5

hookMethod · 0.95
providerMethod · 0.95
ContextMethod · 0.80
BuildExportMethod · 0.65
WithContextMethod · 0.65

Tested by

no test coverage detected