- 11 Dec, 2018 1 commit
-
-
Steven Allen authored
This way, we can abstract over transactions, datastores, and batches when we just need to write to the datastore.
-
- 24 Oct, 2018 1 commit
-
-
Cole Brown authored
-
- 04 Oct, 2018 1 commit
-
-
Steven Allen authored
We can also add this as an extension but it's simple enough I'd like to add it directly to the Datastore. Use-case: The blockstore now has a GetSize and bitswap uses it for packing multiple blocks into a single message. Unfortunately, this means that bitswap is now calling blockstore.GetSize which calls datastore.Get which tends to be more expensive than datastore.Has.
-
- 24 Sep, 2018 1 commit
-
-
Raúl Kripalani authored
-
- 12 Sep, 2018 1 commit
-
-
Raúl Kripalani authored
-
- 14 Aug, 2018 8 commits
-
-
Cole Brown authored
-
Cole Brown authored
-
Cole Brown authored
This reverts commit 8cca1683a03aace2013e48679302100b3580d2ca.
-
Cole Brown authored
-
Cole Brown authored
-
Cole Brown authored
-
Cole Brown authored
-
Cole Brown authored
-
- 13 Aug, 2018 1 commit
-
-
Steven Allen authored
None of our actual datastores support any other types and the cast noise gets really annoying after a while.
-
- 24 Jan, 2018 1 commit
-
-
Hector Sanjuan authored
This adds a PersistentDatastore interface which allows datastores to report DiskUsage(). It implementes the interface on all wrapper types, which return 0 if the wrapped datastore does not provide this method. Related: https://github.com/ipfs/go-ipfs/pull/4550
-
- 14 Oct, 2017 1 commit
-
-
Łukasz Magiera authored
-
- 13 Oct, 2017 1 commit
-
-
Łukasz Magiera authored
-
- 08 Nov, 2016 1 commit
-
-
Vasily Kolobkov authored
License: MIT Signed-off-by: Vasily Kolobkov <polezaivsani@openmailbox.org>
-
- 01 Jan, 2016 1 commit
-
-
Jeromy authored
-
- 16 Jul, 2015 1 commit
-
-
Jeromy authored
-
- 02 Jul, 2015 1 commit
-
-
Jeromy authored
implement batch ops for different datastore types rename Transaction to Batch Revert "add in support for batched writes" add in benchmarks for put and batchput move batching into separate interface address concerns from PR regrab old code
-
- 27 Jun, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 26 Jun, 2015 1 commit
-
-
Jeromy authored
-
- 25 Jun, 2015 2 commits
- 12 Mar, 2015 1 commit
-
- 10 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 09 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 03 Oct, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 21 Sep, 2014 1 commit
-
-
Brian Tiger Chow authored
ThreadsafeDatastore declares a datastore thread-safe by extending the Datastore interface. Callers who desire thread-safety may use this interface to assure that the datastores they use provide this property. Datastore implementers may satisfy the ThreadsafeDatastore interface by defining the no-op method `IsThreadSafe()`
-
- 16 Sep, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 08 Sep, 2014 1 commit
-
-
Jeromy authored
-
- 04 Sep, 2014 1 commit
-
-
Jeromy authored
-
- 28 Jan, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 27 Jan, 2014 2 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 19 Jan, 2014 1 commit
-
-
Juan Batiz-Benet authored
-