Method
Put
(ctx context.Context, docRev DocumentRevision, collectionID uint32)
Source from the content-addressed store, hash-verified
| 78 | } |
| 79 | |
| 80 | func (sc *ShardedLRURevisionCache) Put(ctx context.Context, docRev DocumentRevision, collectionID uint32) { |
| 81 | sc.getShard(docRev.DocID).Put(ctx, docRev, collectionID) |
| 82 | } |
| 83 | |
| 84 | func (sc *ShardedLRURevisionCache) Upsert(ctx context.Context, docRev DocumentRevision, collectionID uint32) { |
| 85 | sc.getShard(docRev.DocID).Upsert(ctx, docRev, collectionID) |
Callers
nothing calls this directly
Tested by
no test coverage detected