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

Method handleGetAttachmentMigration

rest/api.go:171–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169}
170
171func (h *handler) handleGetAttachmentMigration() error {
172 status, err := h.db.AttachmentMigrationManager.GetStatus(h.ctx())
173 if err != nil {
174 return err
175 }
176 h.writeRawJSON(status)
177 return nil
178}
179
180func (h *handler) handleCompact() error {
181 action := h.getQuery("action")

Callers

nothing calls this directly

Calls 3

ctxMethod · 0.95
writeRawJSONMethod · 0.95
GetStatusMethod · 0.45

Tested by

no test coverage detected