GetCachedChanges will grab cached changes form channel cache for caching tool, not to be used outside test code.
(t *testing.T, ctx context.Context, chanID channels.ID)
| 113 | |
| 114 | // GetCachedChanges will grab cached changes form channel cache for caching tool, not to be used outside test code. |
| 115 | func (db *DatabaseContext) GetCachedChanges(t *testing.T, ctx context.Context, chanID channels.ID) ([]*LogEntry, error) { |
| 116 | logs, err := db.changeCache.getChannelCache().GetCachedChanges(ctx, chanID) |
| 117 | return logs, err |
| 118 | } |
| 119 | |
| 120 | func (db *DatabaseContext) NewDCPCachingCountWaiter(tb testing.TB) *StatWaiter { |
| 121 | return db.NewStatWaiter(db.DbStats.Database().DCPCachingCount, tb) |
nothing calls this directly
no test coverage detected