- 14 Feb, 2020 9 commits
-
-
Steven Allen authored
Make flatfs robust
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
It's a no-op if we don't need it.
-
Steven Allen authored
-
Steven Allen authored
Only allow keys of the form `/[0-9A-Z+-_=]`. That is, upper-case alphanumeric keys in the root namespace (plus some special characters). Why? We don't encode keys before writing them to the filesystem. This change ensures that: 1. Case sensitivity doesn't matter because we only allow upper-case keys. 2. Path separators and special characters doesn't matter. For context, go-ipfs only uses flatfs for storing blocks. Every block CID is encoded as uppercase alphanumeric text (specifically, uppercase base32). We could be less restrictive, but this is safer and easier to understand. Unfortunately, we _can't_ allow mixed case (Windows) and can't allow lowercase because we're already using uppercase keys. fixes #23
-
Steven Allen authored
That way, we're finally implementing everything.
-
Steven Allen authored
While this datastore is still quite limited, we might as well support everything we easily can.
-
- 11 Feb, 2020 2 commits
-
-
Steven Allen authored
chore: update go-datastore
-
Steven Allen authored
And better handle prefixes.
-
- 09 Dec, 2019 2 commits
-
-
Steven Allen authored
Bump github.com/ipfs/go-datastore from 0.3.0 to 0.3.1
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/ipfs/go-datastore/releases) - [Commits](https://github.com/ipfs/go-datastore/compare/v0.3.0...v0.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 03 Dec, 2019 2 commits
-
-
Steven Allen authored
Update Datastore Interface
-
Adin Schmahmann authored
-
- 02 Dec, 2019 2 commits
-
-
Steven Allen authored
query: deny ReturnsSizes and ReturnExpirations instead of returning wrong result
-
Michael Muré authored
-
- 01 Oct, 2019 2 commits
-
-
Steven Allen authored
Bump github.com/ipfs/go-datastore from 0.1.0 to 0.1.1
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/ipfs/go-datastore/releases) - [Commits](https://github.com/ipfs/go-datastore/compare/v0.1.0...v0.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 19 Sep, 2019 2 commits
-
-
Steven Allen authored
doc: add a lead maintainer
-
Steven Allen authored
-
- 21 Aug, 2019 5 commits
-
-
Steven Allen authored
make delete idempotent
-
Steven Allen authored
-
Steven Allen authored
(faster)
-
Steven Allen authored
-
Steven Allen authored
-
- 16 Mar, 2019 1 commit
-
-
Steven Allen authored
remove thread-safe assertion
-
- 15 Mar, 2019 1 commit
-
-
Steven Allen authored
Merge before: https://github.com/ipfs/go-datastore/pull/120
-
- 01 Mar, 2019 5 commits
-
-
Steven Allen authored
-
Steven Allen authored
fix panic on write after close
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Steven Allen authored
1. Use []byte instead of interface{}. 2. Handle rename errors. 3. Correctly temporary files.
-
Steven Allen authored
(and make Close threadsafe)
-
- 18 Feb, 2019 1 commit
-
-
Jakub Sztandera authored
-
- 19 Dec, 2018 1 commit
-
-
Steven Allen authored
-
- 18 Dec, 2018 4 commits
-
-
Steven Allen authored
fix a goroutine leak killing the gateways
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Closing a query early could leak the query goroutine if the buffer isn't large enough to fit the rest of the query.
-
- 02 Nov, 2018 1 commit
-
-
Steven Allen authored
-