MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / handleDeleteDesignDoc

Method handleDeleteDesignDoc

rest/view_api.go:69–72  ·  view source on GitHub ↗

HTTP handler for DELETE _design/$ddoc

()

Source from the content-addressed store, hash-verified

67
68// HTTP handler for DELETE _design/$ddoc
69func (h *handler) handleDeleteDesignDoc() error {
70 ddocID := h.PathVar("ddoc")
71 return h.db.DeleteDesignDoc(ddocID)
72}
73
74// HTTP handler for GET _design/$ddoc/_view/$view
75func (h *handler) handleView() error {

Callers

nothing calls this directly

Calls 2

PathVarMethod · 0.95
DeleteDesignDocMethod · 0.80

Tested by

no test coverage detected