shardedScanner is a user scanner but applies a filter to the users to check ownership.
| 178 | |
| 179 | // shardedScanner is a user scanner but applies a filter to the users to check ownership. |
| 180 | type shardedScanner struct { |
| 181 | scanner Scanner |
| 182 | isOwned func(userID string) (bool, error) |
| 183 | logger log.Logger |
| 184 | } |
| 185 | |
| 186 | func (s *shardedScanner) ScanUsers(ctx context.Context) ([]string, []string, []string, error) { |
| 187 | baseActiveUsers, baseDeletingUsers, baseDeletedUsers, err := s.scanner.ScanUsers(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected