(ctx context.Context, docID string, cv *Version, collectionID uint32, includeDelta bool, loadBackup bool)
| 165 | } |
| 166 | |
| 167 | func (rc *LRURevisionCache) GetWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32, includeDelta bool, loadBackup bool) (DocumentRevision, error) { |
| 168 | return rc.getFromCacheByCV(ctx, docID, cv, collectionID, true, includeDelta, loadBackup) |
| 169 | } |
| 170 | |
| 171 | // Looks up a revision from the cache only. Will not fall back to loader function if not |
| 172 | // present in the cache. |