Currently only used by unit tests - deletes an archived old revision from the database
(ctx context.Context, docid string, revid string)
| 374 | |
| 375 | // Currently only used by unit tests - deletes an archived old revision from the database |
| 376 | func (c *DatabaseCollection) PurgeOldRevisionJSON(ctx context.Context, docid string, revid string) error { |
| 377 | base.DebugfCtx(ctx, base.KeyCRUD, "Purging old revision backup %q / %q ", base.UD(docid), revid) |
| 378 | return c.dataStore.Delete(oldRevisionKey(docid, revid)) |
| 379 | } |
| 380 | |
| 381 | // ////// UTILITY FUNCTIONS: |
| 382 |