Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-datastore
Commits
e192b45b
Unverified
Commit
e192b45b
authored
Mar 22, 2019
by
Michael Avila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
b94a6236
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
10 deletions
+7
-10
mount/mount_test.go
mount/mount_test.go
+5
-5
query/query.go
query/query.go
+1
-1
query/query_impl.go
query/query_impl.go
+1
-4
No files found.
mount/mount_test.go
View file @
e192b45b
...
...
@@ -2,13 +2,13 @@ package mount_test
import
(
"errors"
"github.com/ipfs/go-datastore/sync"
"testing"
"github.com/ipfs/go-datastore"
"github.com/ipfs/go-datastore/mount"
"github.com/ipfs/go-datastore/query"
"github.com/ipfs/go-datastore/test"
datastore
"github.com/ipfs/go-datastore"
mount
"github.com/ipfs/go-datastore/mount"
query
"github.com/ipfs/go-datastore/query"
sync
"github.com/ipfs/go-datastore/sync"
dstest
"github.com/ipfs/go-datastore/test"
)
func
TestPutBadNothing
(
t
*
testing
.
T
)
{
...
...
query/query.go
View file @
e192b45b
...
...
@@ -3,7 +3,7 @@ package query
import
(
"time"
"github.com/jbenet/goprocess"
goprocess
"github.com/jbenet/goprocess"
)
/*
...
...
query/query_impl.go
View file @
e192b45b
package
query
import
(
"sort"
)
import
"sort"
func
DerivedResults
(
qr
Results
,
ch
<-
chan
Result
)
Results
{
return
&
results
{
...
...
@@ -124,7 +122,6 @@ func NaiveQueryApply(q Query, qr Results) Results {
qr
=
NaiveOffset
(
qr
,
q
.
Offset
)
}
if
q
.
Limit
!=
0
{
// TODO: Offset?
qr
=
NaiveLimit
(
qr
,
q
.
Limit
)
}
return
qr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment