| 58 | } |
| 59 | |
| 60 | func (sc *ShardedLRURevisionCache) GetWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32, includeDelta bool, loadBackup bool) (docRev DocumentRevision, err error) { |
| 61 | return sc.getShard(docID).GetWithCV(ctx, docID, cv, collectionID, includeDelta, loadBackup) |
| 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) |