Commit Graph

  • 643f78a8f9 Change 'IsNil' method to 'Defined'. Kevin Atkinson 2018-09-05 03:26:26 -04:00
  • 7b4617fa6e Eliminate unnecessary copy of Cid now that its an immutable string. Kevin Atkinson 2018-09-01 00:09:38 -04:00
  • 440a1c1a5a Removed description of layout of CID as it is not correct for CIDv0. Kevin Atkinson 2018-08-29 22:29:11 -04:00
  • e0a5698af9 Add IsNil() method. Kevin Atkinson 2018-08-28 22:30:41 -04:00
  • 667c6a9418 Avoid allocating memory in Type() method. Kevin Atkinson 2018-08-25 15:27:05 -04:00
  • 426ebe9e55 Simplify assignment in UnmarshalJSON. Kevin Atkinson 2018-08-25 15:26:16 -04:00
  • cad52160a4 Ensure we always have a valid Cid by hiding the type in a struct. Kevin Atkinson 2018-08-25 03:15:22 -04:00
  • b5a08dcaaa Change EmptyCid to just Nil. Kevin Atkinson 2018-08-25 03:05:17 -04:00
  • 9831436a6f Change string representation to represent actual binary representation. Kevin Atkinson 2018-08-25 02:52:23 -04:00
  • d7974d2277 Export version() method, various other code cleanups. Kevin Atkinson 2018-08-25 02:32:22 -04:00
  • 8009448a20 fix KeyString() dignifiedquire 2018-05-03 19:30:05 +02:00
  • 92496b5494 use string instead of []byte as underlying store dignifiedquire 2018-05-03 19:26:57 +02:00
  • e153340e5a feat: use CIDs as their byte representation instead of a struct dignifiedquire 2018-05-03 15:12:25 +02:00
  • 6ddb575a8d Merge pull request #60 from ipfs/kevina/cid-fmtb Steven Allen 2018-08-30 23:06:50 +00:00
  • b3d85b3dee Enhance documentation for Encode method. Kevin Atkinson 2018-08-30 00:38:17 -04:00
  • bea727bbd1 Enhance tests. Kevin Atkinson 2018-08-01 16:51:58 -04:00
  • 9091e50b29 Rename Format method to Encode. Kevin Atkinson 2018-08-01 15:34:58 -04:00
  • a0b3b11e63 Create a new Format method that is like StringOfBase but never errors Kevin Atkinson 2018-07-26 17:50:53 -04:00
  • 1766ab0fcf Merge pull request #72 from ipfs/rsrch-cid-as-struct-wrapped-str Steven Allen 2018-08-30 01:52:53 +00:00
  • 924534b811 Inspect memory layout of struct wrapping string. Eric Myhre 2018-08-28 01:00:21 +02:00
  • 5ddbe21740 Merge pull request #70 from ipfs/rsrch Eric Myhre 2018-08-28 00:34:28 +02:00
  • 2cf56e3813 Benchmarks of various Cid types as map keys. Eric Myhre 2018-08-24 13:53:50 +02:00
  • 5a6d4bdf06 More readme on the state of iface research. Eric Myhre 2018-08-24 13:18:50 +02:00
  • fb8ecaccad Enumerate some more options in prose. Eric Myhre 2018-08-24 12:37:50 +02:00
  • 348b9201a6 Start a readme for this research project. Eric Myhre 2018-08-24 12:24:34 +02:00
  • b4ab25ffda Discovered interesting case in map key checking. Eric Myhre 2018-08-24 12:16:52 +02:00
  • c724ad0d22 cid impl via struct and via string together. Eric Myhre 2018-08-24 11:43:16 +02:00
  • ff25e9673c Open research dir; want to explore cid impl perf. Eric Myhre 2018-08-24 10:53:52 +02:00
  • afcde25c66 gx publish 0.8.0 gx/v0.8.0 Kevin Atkinson 2018-08-21 15:15:34 -04:00
  • fb85ebd768 Merge pull request #69 from ipfs/kevina/extract Kevin Atkinson 2018-08-21 15:11:14 -04:00
  • 870aa9e7de Extract non-core functionality from go-cid into go-cidutil. Kevin Atkinson 2018-08-16 21:51:31 -04:00
  • 73e5246a65 gx publish 0.7.25 gx/v0.7.25 Steven Allen 2018-08-15 08:24:56 -07:00
  • 83a7594d41 Merge pull request #67 from ipfs/feat/streaming-set Steven Allen 2018-08-11 01:06:53 +00:00
  • 3655c1cdd4 add a streaming CID set Łukasz Magiera 2018-08-10 17:32:43 -07:00
  • 1543f4a136 Merge pull request #44 from ipfs/feat/bench Steven Allen 2018-08-10 23:55:30 +00:00
  • d6e0b4e5a7 add String benchmark Steven Allen 2018-04-20 10:30:12 +09:00
  • 5eff744da0 gx publish 0.7.24 gx/v0.7.24 Kevin Atkinson 2018-08-10 17:40:00 -04:00
  • a8ae38caae Merge pull request #61 from ipfs/kevina/cid-fmt-enhan Kevin Atkinson 2018-08-10 17:35:25 -04:00
  • 23f03cb301 Merge pull request #53 from ipfs/kevina/format Kevin Atkinson 2018-08-10 17:34:56 -04:00
  • 1c907dba61 Allocate bytes.Buffer directly on the stack. Kevin Atkinson 2018-08-10 17:27:58 -04:00
  • 86805e711c Change field names in V1Builder to match Prefix. Kevin Atkinson 2018-08-10 00:13:49 -04:00
  • f868375825 Enhance Tests. Kevin Atkinson 2018-08-09 23:55:45 -04:00
  • 8f7ba15bfb Documentation Cleanups. Kevin Atkinson 2018-08-09 23:55:33 -04:00
  • ae25e25d1a Remove PrefixToBuilder as it is needed right now. Kevin Atkinson 2018-08-09 23:14:37 -04:00
  • 0f09109d9f Replace DecodeV2 with ExtractEncoding Kevin Atkinson 2018-08-09 02:37:09 -04:00
  • 67951e2c09 Move deprecated function to there own file. Kevin Atkinson 2018-08-09 00:09:33 -04:00
  • ad88cb11c5 Rename Format to Builder. Kevin Atkinson 2018-08-09 00:04:26 -04:00
  • 10944c9d86 Merge pull request #63 from ipfs/tests/set Steven Allen 2018-08-02 19:25:20 +00:00
  • b340dd202e Add tests for Set type Hector Sanjuan 2018-08-02 11:51:05 +02:00
  • c4bfcd0671 Extract most of cid-fmt logic so it can be used as a library. Kevin Atkinson 2018-08-01 04:21:32 -04:00
  • 36bab4873c Clean up cid-fmt util code. Kevin Atkinson 2018-07-31 22:10:47 -04:00
  • 056eac16ae Fix fmtRef string. Kevin Atkinson 2018-07-31 17:12:16 -04:00
  • 038b7f7cc9 Use new Encoder in multibase package. Kevin Atkinson 2018-07-31 17:07:49 -04:00
  • 019d945bf5 Use lookup table in go-multibase now that it is supported. Kevin Atkinson 2018-07-26 17:56:48 -04:00
  • 799731b9e5 gx update go-multibase to 0.2.7 Kevin Atkinson 2018-07-27 18:02:02 -04:00
  • 06f861b665 Merge pull request #59 from ipfs/0.7.23 Hector Sanjuan 2018-07-28 00:44:12 +02:00
  • 88cd5dcebf Add WithCodec and GetCodec methods to format interface. Kevin Atkinson 2018-07-24 22:28:19 -04:00
  • 9949dd29e5 gx publish 0.7.23 gx/v0.7.23 Hector Sanjuan 2018-07-24 11:09:24 +02:00
  • 75d3ffe549 Merge pull request #58 from ipfs/feat/decred-codec Steven Allen 2018-07-23 18:57:13 +00:00
  • 8028fee095 Add Decred codecs Hector Sanjuan 2018-07-23 19:28:15 +02:00
  • bd441bb43e gx publish 0.7.22 gx/v0.7.22 Steven Allen 2018-07-12 10:21:27 +02:00
  • 10a4d040b4 Merge pull request #55 from ipfs/bug/marshal Steven Allen 2018-07-12 08:19:51 +00:00
  • d204c18f7a make test a little more clear Fritz Schneider 2018-07-11 11:24:59 -10:00
  • b41162260a fix typo Fritz Schneider 2018-07-11 11:21:16 -10:00
  • 9cb0b7bcae use value receiver Fritz Schneider 2018-07-11 11:20:53 -10:00
  • 6f951560f5 Update deprecated note to reflect code review. Kevin Atkinson 2018-06-28 23:08:17 -04:00
  • 5d8ad3eb9c Create new Format interface for creating CIDs. Kevin Atkinson 2018-06-28 22:48:56 -04:00
  • 5b04f30433 gx publish 0.7.21 gx/v0.7.21 Steven Allen 2018-06-08 20:25:20 -07:00
  • 078355866b gx publish 0.7.20 gx/v0.7.20 Steven Allen 2018-01-19 20:51:37 -08:00
  • 1805dd530f gx publish 0.7.19 gx/v0.7.19 Steven Allen 2017-12-03 21:12:18 -08:00
  • 2055d2e652 Merge pull request #36 from ipfs/feat/cid-prefix-constructors Steven Allen 2017-09-07 11:35:56 -07:00
  • 63d4b33fcf Add CID Prefix constructors. Steven Allen 2017-08-30 12:33:56 -07:00
  • 19c1c0e32e gx publish 0.7.18 gx/v0.7.18 Steven Allen 2017-08-28 20:25:09 -07:00
  • 088f141a17 Merge pull request #33 from ipfs/gx/update-multibase Steven Allen 2017-08-28 20:22:53 -07:00
  • 758714796c gx: update multibase Steven Allen 2017-08-28 20:17:55 -07:00
  • ed3563b69e Merge pull request #31 from ipfs/kevina/cid-fmt Steven Allen 2017-08-28 16:56:05 -07:00
  • db11d7248a Use an exit code of 1 on non-fatal errors and 2 on fatal errors. Kevin Atkinson 2017-08-15 17:23:44 -04:00
  • 68abb41a9b Add ability to change CID version. Kevin Atkinson 2017-08-15 14:47:23 -04:00
  • 7333c60a00 Implement 'cid-fmt' utility. Kevin Atkinson 2017-08-15 14:26:24 -04:00
  • f62e35b87a Implement basic 'cid-fmt' utility. Kevin Atkinson 2017-08-14 01:27:38 -04:00
  • 5652e6f751 Merge pull request #29 from Stebalien/gx/publish-0.7.17 Jeromy Johnson 2017-07-10 12:45:42 -07:00
  • fa428a337b gx publish 0.7.17 gx/v0.7.17 Steven Allen 2017-07-07 19:34:27 -07:00
  • e0f0e24c2d Merge pull request #28 from ipfs/gx/publish-0.7.16 Jeromy Johnson 2017-07-04 09:56:40 -07:00
  • 1aa1093d28 gx publish 0.7.16 gx/v0.7.16 Łukasz Magiera 2017-07-04 18:45:18 +02:00
  • f4f9847100 Merge pull request #27 from ipfs/feat/codecov Jeromy Johnson 2017-07-03 16:33:39 -07:00
  • 83b0d39470 Disable comments Jakub Sztandera 2017-07-01 11:19:22 +02:00
  • b7772ebfe3 Use Codecov instead of Coveralls Jakub Sztandera 2017-07-01 11:11:48 +02:00
  • e449699cc1 Merge pull request #26 from hermanjunge/feat/codecs-map Jeromy Johnson 2017-06-30 11:52:50 -07:00
  • 7d345d4817 Switch from byte to uint64 Herman Junge 2017-06-30 10:00:21 -04:00
  • 3c03b9e581 Improve tests Herman Junge 2017-06-30 03:01:26 -04:00
  • f6990413f7 Added map of string to codecs Herman Junge 2017-06-29 21:00:23 -04:00
  • 3f7f6c6a1d Merge pull request #21 from ipfs/gx/0.7.15 Jeromy Johnson 2017-06-19 12:12:57 -07:00
  • 05eac5f7ca gx publish 0.7.15 gx/v0.7.15 Łukasz Magiera 2017-06-19 18:31:26 +02:00
  • 1f385a8224 Merge pull request #20 from ipfs/feat/strofbase Jakub Sztandera 2017-06-19 17:58:20 +02:00
  • b42583c8bf Add StringOfBase function Łukasz Magiera 2017-06-19 16:37:07 +02:00
  • 45ce89d41a gx publish 0.7.14 gx/v0.7.14 Jeromy 2017-06-13 11:33:50 -07:00
  • a20203df14 Merge pull request #18 from magik6k/patch-1 Jeromy Johnson 2017-06-09 11:55:35 -07:00
  • d4ebfff511 Add git-raw code Łukasz Magiera 2017-06-07 20:08:56 +02:00
  • e310d23e36 gx publish 0.7.13 gx/v0.7.13 Jeromy 2017-05-01 17:37:29 -07:00
  • 7e7f6811b4 gx publish 0.7.12 gx/v0.7.12 Jeromy 2017-03-24 18:53:57 -07:00