1. 21 1月, 2019 1 次提交
    • base32: make GetEncoderFromPath more robust · 19d8f624
      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: 's avatarSteven Allen <steven@stebalien.com>
      Steven Allen 提交于
  2. 17 1月, 2019 14 次提交
  3. 16 1月, 2019 2 次提交
  4. 15 1月, 2019 1 次提交
  5. 11 1月, 2019 2 次提交
  6. 10 1月, 2019 2 次提交
  7. 09 1月, 2019 4 次提交
  8. 08 1月, 2019 6 次提交
  9. 07 1月, 2019 2 次提交
  10. 05 1月, 2019 6 次提交