(
commits: CommitsWithVersion<R>,
offset: u64,
de: &'a D,
)
| 598 | } |
| 599 | |
| 600 | fn transactions_from_internal<'a, R, D, T>( |
| 601 | commits: CommitsWithVersion<R>, |
| 602 | offset: u64, |
| 603 | de: &'a D, |
| 604 | ) -> impl Iterator<Item = Result<Transaction<T>, D::Error>> + 'a |
| 605 | where |
| 606 | R: Repo + 'a, |
| 607 | D: Decoder<Record = T>, |
| 608 | D::Error: From<error::Traversal>, |
| 609 | T: 'a, |
| 610 | { |
| 611 | commits |
| 612 | .map(|x| x.map_err(D::Error::from)) |
| 613 | .map_ok(move |(version, commit)| commit.into_transactions(version, offset, de)) |
| 614 | .flatten_ok() |
| 615 | .map(|x| x.and_then(|y| y)) |
| 616 | } |
| 617 | |
| 618 | fn fold_transactions_internal<R, D>( |
| 619 | mut commits: CommitsWithVersion<R>, |
no test coverage detected
searching dependent graphs…