PrevEventIDs returns the prev_event IDs of all backwards extremities, de-duplicated in a lexicographically sorted order.
()
| 150 | |
| 151 | // PrevEventIDs returns the prev_event IDs of all backwards extremities, de-duplicated in a lexicographically sorted order. |
| 152 | func (r *PerformBackfillRequest) PrevEventIDs() []string { |
| 153 | var prevEventIDs []string |
| 154 | for _, pes := range r.BackwardsExtremities { |
| 155 | prevEventIDs = append(prevEventIDs, pes...) |
| 156 | } |
| 157 | prevEventIDs = util.UniqueStrings(prevEventIDs) |
| 158 | return prevEventIDs |
| 159 | } |
| 160 | |
| 161 | // PerformBackfillResponse is a response to PerformBackfill. |
| 162 | type PerformBackfillResponse struct { |
no outgoing calls
no test coverage detected