| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| cidbase.go | ||
| cidbase_test.go | ||
| env.go | ||
| file.go |
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>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| cidbase.go | 正在载入提交数据... | |
| cidbase_test.go | 正在载入提交数据... | |
| env.go | 正在载入提交数据... | |
| file.go | 正在载入提交数据... |