(ctx context.Context, docRev DocumentRevision, collectionID uint32)
| 82 | } |
| 83 | |
| 84 | func (sc *ShardedLRURevisionCache) Upsert(ctx context.Context, docRev DocumentRevision, collectionID uint32) { |
| 85 | sc.getShard(docRev.DocID).Upsert(ctx, docRev, collectionID) |
| 86 | } |
| 87 | |
| 88 | func (sc *ShardedLRURevisionCache) RemoveWithRev(ctx context.Context, docID, revID string, collectionID uint32) { |
| 89 | sc.getShard(docID).RemoveWithRev(ctx, docID, revID, collectionID) |