kubo/core
Steven Allen 19d8f624ed base32: make GetEncoderFromPath more robust
Primarily, get rid of extractCidString and cidVer. Neither of these functions
did sane things when a path when a path didn't actually include a CID. For
example, "boo" would yield a base32 encoder.

Also:

* Avoid "optional" errors.
* Make it a pure function of the input path.
* Extract the multibase from *any* type of path of the form
  /namespace/cid-like-thing/... This is a DWIM function.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-01-21 09:46:24 -08:00
..
commands base32: make GetEncoderFromPath more robust 2019-01-21 09:46:24 -08:00
coreapi Gx update go-cidutil. 2019-01-17 14:49:47 -05:00
coredag gx: update deps 2019-01-08 19:19:34 -08:00
corehttp chore: update to Web UI v2.3.3 2019-01-16 13:14:32 +00:00
corerepo gx: update deps 2019-01-08 19:19:34 -08:00
coreunix gx: update deps 2019-01-08 19:19:34 -08:00
mock gx: update deps 2019-01-08 19:19:34 -08:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go gx: update deps 2019-01-08 19:19:34 -08:00
bootstrap.go gx: update deps 2019-01-08 19:19:34 -08:00
builder.go gx: update deps 2019-01-08 19:19:34 -08:00
core_test.go gx: update deps 2019-01-08 19:19:34 -08:00
core.go gx: update deps 2019-01-08 19:19:34 -08:00
pathresolver_test.go gx: update deps 2019-01-08 19:19:34 -08:00
pathresolver.go gx: update deps 2019-01-08 19:19:34 -08:00