GetActive is for per collection access to GetActive method
(ctx context.Context, docID string)
| 156 | |
| 157 | // GetActive is for per collection access to GetActive method |
| 158 | func (c *collectionRevisionCache) GetActive(ctx context.Context, docID string) (DocumentRevision, error) { |
| 159 | return (*c.revCache).GetActive(ctx, docID, c.collectionID) |
| 160 | } |
| 161 | |
| 162 | // Peek is for per collection access to Peek method |
| 163 | func (c *collectionRevisionCache) Peek(ctx context.Context, docID, revID string) (DocumentRevision, bool) { |