RemoveWithCV removes a value from rev cache by CV reference if present
(ctx context.Context, docID string, cv *Version, collectionID uint32)
| 511 | |
| 512 | // RemoveWithCV removes a value from rev cache by CV reference if present |
| 513 | func (rc *LRURevisionCache) RemoveWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32) { |
| 514 | rc.removeFromCacheByCV(ctx, docID, cv, collectionID) |
| 515 | } |
| 516 | |
| 517 | func (rc *LRURevisionCache) RemoveCVOnly(ctx context.Context, docID string, cv *Version, collectionID uint32) { |
| 518 | rc.removeFromCVLookup(ctx, docID, cv, collectionID) |