(ctx context.Context, docID, revID string, collectionID uint32)
| 62 | } |
| 63 | |
| 64 | func (sc *ShardedLRURevisionCache) Peek(ctx context.Context, docID, revID string, collectionID uint32) (docRev DocumentRevision, found bool) { |
| 65 | return sc.getShard(docID).Peek(ctx, docID, revID, collectionID) |
| 66 | } |
| 67 | |
| 68 | func (sc *ShardedLRURevisionCache) UpdateDelta(ctx context.Context, docID, revID string, collectionID uint32, toDelta RevisionDelta) { |
| 69 | sc.getShard(docID).UpdateDelta(ctx, docID, revID, collectionID, toDelta) |