GetSingleChannelCache will create the cache for the channel if it doesn't exist. If the cache is at capacity, will return a bypass channel cache.
(ctx context.Context, ch channels.ID)
| 178 | // GetSingleChannelCache will create the cache for the channel if it doesn't exist. If the cache is at |
| 179 | // capacity, will return a bypass channel cache. |
| 180 | func (c *channelCacheImpl) getSingleChannelCache(ctx context.Context, ch channels.ID) (SingleChannelCache, error) { |
| 181 | |
| 182 | return c.getChannelCache(ctx, ch) |
| 183 | } |
| 184 | |
| 185 | func (c *channelCacheImpl) AddPrincipal(change *LogEntry) { |
| 186 | c.updateHighCacheSequence(change.Sequence) |
nothing calls this directly
no test coverage detected