CHANGE ACCESS:
(ctx context.Context, channel channels.ID, options ChangesOptions)
| 960 | // ////// CHANGE ACCESS: |
| 961 | |
| 962 | func (c *changeCache) GetChanges(ctx context.Context, channel channels.ID, options ChangesOptions) ([]*LogEntry, error) { |
| 963 | |
| 964 | if c.stopped.IsTrue() { |
| 965 | return nil, base.HTTPErrorf(503, "Database closed") |
| 966 | } |
| 967 | return c.channelCache.GetChanges(ctx, channel, options) |
| 968 | } |
| 969 | |
| 970 | // Returns the sequence number the cache is up-to-date with. |
| 971 | func (c *changeCache) LastSequence() uint64 { |