Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/go-datastore
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 09cb36c68e94a8b951fd6ada929d913ff9fc47b7
Choose a base ref
..
head repository: ipfs/go-datastore
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b086f25e046544eb7e39abaf2a038f4ca1d1d9b0
Choose a head ref
Showing with 2 additions and 0 deletions.
  1. +2 −0 query/query.go
2 changes: 2 additions & 0 deletions query/query.go
Original file line number Diff line number Diff line change
@@ -229,6 +229,8 @@ func ResultsWithChan(q Query, res <-chan Result) Results {
})
}

// ResultsWithProcess returns a Results object with the results generated by the
// passed subprocess.
func ResultsWithProcess(q Query, proc func(goprocess.Process, chan<- Result)) Results {
b := NewResultBuilder(q)