- 11 Feb, 2020 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
Only count a key as an ancestor if there is a separator
-
- 10 Feb, 2020 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
This should have already been committed...
-
Steven Allen authored
-
- 06 Feb, 2020 1 commit
-
-
Steven Allen authored
-
- 05 Feb, 2020 1 commit
-
-
Steven Allen authored
Also make sure to clean and normalize keys before using them as prefixes. BREAKING CHANGES: * `myds.Query(Query{Prefix:"/foo"})` will no longer match "/foobar" (or even "/foo"). This is usually what the user expects, we had a tendency to normalize "/foo/" to "/foo" (when we clean keys), and many datastores can't efficiently search for prefixes that aren't on path-boundaries anyways. * Given a mount datastore with mounts `["/foo", "/"]`, `myds.Put("/foo", "bar")` will put the value to the datastore mounted at "/", not "/foo", as the key "/" and "" usually doesn't make sense. While technically breaking, these changes are much more likely to fix bugs than they are to break things.
-
- 16 Dec, 2019 1 commit
-
-
Steven Allen authored
fix go-check path to use "gopkg.in/check.v1"
-
- 15 Dec, 2019 3 commits
-
-
george xie authored
-
george xie authored
-
george xie authored
-
- 05 Dec, 2019 7 commits
-
-
Steven Allen authored
LogDatastore fulfills the Datastore interface again
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
ci: switch from Travis to Circle
-
Adin Schmahmann authored
-
- 03 Dec, 2019 4 commits
-
-
Steven Allen authored
Support Asynchronous Writing Datastores
-
Adin Schmahmann authored
-
Adin Schmahmann authored
interface(Datastore): added Sync function to the Datastore, along with implementations in helper Datastores
-
Adin Schmahmann authored
-
- 02 Dec, 2019 1 commit
-
-
Steven Allen authored
add a Size field to Query's Result
-
- 22 Nov, 2019 5 commits
-
-
Michael Muré authored
-
Michael Muré authored
-
Michael Muré authored
-
Michael Muré authored
query: allow to always request the size alongside KeysOnly, allow impl to always return the size if no perf cost
-
Michael Muré authored
Rational is that some datastore can easilty get the size of a value when listing only keys, so we might as well have a way to pass that. One way this could be useful is when implementing a cache for Has/GetSize.
-
- 11 Nov, 2019 2 commits
-
-
Steven Allen authored
Add clarifying comments on Query#String()
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
-
- 01 Oct, 2019 3 commits
-
-
Steven Allen authored
Add a large test suite
-
Steven Allen authored
-
Steven Allen authored
-
- 27 Sep, 2019 6 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Make it possible to print datastore queries.
-
- 26 Sep, 2019 1 commit
-
-
Steven Allen authored
-