GetActive returns the current revision for the given doc ID, and stores if not already cached.
(ctx context.Context, docID string, collectionID uint32)
| 40 | |
| 41 | // GetActive returns the current revision for the given doc ID, and stores if not already cached. |
| 42 | GetActive(ctx context.Context, docID string, collectionID uint32) (docRev DocumentRevision, err error) |
| 43 | |
| 44 | // Peek returns the given revision if present in the cache |
| 45 | Peek(ctx context.Context, docID, revID string, collectionID uint32) (docRev DocumentRevision, found bool) |
no outgoing calls