Kevin Atkinson
67951e2c09
Move deprecated function to there own file.
2018-08-09 00:15:04 -04:00
Kevin Atkinson
ad88cb11c5
Rename Format to Builder.
2018-08-09 00:15:04 -04:00
Steven Allen
10944c9d86
Merge pull request #63 from ipfs/tests/set
...
Add tests for Set type
2018-08-02 19:25:20 +00:00
Hector Sanjuan
b340dd202e
Add tests for Set type
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai >
2018-08-02 11:51:05 +02:00
Kevin Atkinson
c4bfcd0671
Extract most of cid-fmt logic so it can be used as a library.
2018-08-01 04:21:32 -04:00
Kevin Atkinson
36bab4873c
Clean up cid-fmt util code.
2018-07-31 22:10:47 -04:00
Kevin Atkinson
056eac16ae
Fix fmtRef string.
2018-07-31 17:12:16 -04:00
Kevin Atkinson
038b7f7cc9
Use new Encoder in multibase package.
...
This allows multibase codes to be specified by the name rather than just
the prefix char.
2018-07-31 17:07:49 -04:00
Kevin Atkinson
019d945bf5
Use lookup table in go-multibase now that it is supported.
2018-07-31 16:33:41 -04:00
Kevin Atkinson
799731b9e5
gx update go-multibase to 0.2.7
2018-07-31 16:33:41 -04:00
Hector Sanjuan
06f861b665
Merge pull request #59 from ipfs/0.7.23
...
gx publish 0.7.23
2018-07-28 00:44:12 +02:00
Kevin Atkinson
88cd5dcebf
Add WithCodec and GetCodec methods to format interface.
2018-07-24 22:28:19 -04:00
Hector Sanjuan
9949dd29e5
gx publish 0.7.23
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai >
gx/v0.7.23
2018-07-24 11:09:24 +02:00
Steven Allen
75d3ffe549
Merge pull request #58 from ipfs/feat/decred-codec
...
Add Decred codecs
2018-07-23 18:57:13 +00:00
Hector Sanjuan
8028fee095
Add Decred codecs
...
0xe0 and 0xe1 have been assigned to Decred block and tx in the
multicodecs table. https://github.com/multiformats/multicodec/pull/78
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai >
2018-07-23 19:28:53 +02:00
Steven Allen
bd441bb43e
gx publish 0.7.22
gx/v0.7.22
2018-07-12 10:21:27 +02:00
Steven Allen
10a4d040b4
Merge pull request #55 from ipfs/bug/marshal
...
Use value receiver for MarshalJSON so we can marshal values
2018-07-12 08:19:51 +00:00
Fritz Schneider
d204c18f7a
make test a little more clear
2018-07-11 11:24:59 -10:00
Fritz Schneider
b41162260a
fix typo
2018-07-11 11:21:16 -10:00
Fritz Schneider
9cb0b7bcae
use value receiver
2018-07-11 11:20:53 -10:00
Kevin Atkinson
6f951560f5
Update deprecated note to reflect code review.
2018-06-28 23:08:17 -04:00
Kevin Atkinson
5d8ad3eb9c
Create new Format interface for creating CIDs.
2018-06-28 22:48:56 -04:00
Steven Allen
5b04f30433
gx publish 0.7.21
gx/v0.7.21
2018-06-08 20:25:20 -07:00
Steven Allen
078355866b
gx publish 0.7.20
gx/v0.7.20
2018-01-19 20:51:37 -08:00
Steven Allen
1805dd530f
gx publish 0.7.19
gx/v0.7.19
2017-12-05 00:06:03 +00:00
Steven Allen
2055d2e652
Merge pull request #36 from ipfs/feat/cid-prefix-constructors
...
Add CID Prefix constructors.
2017-09-07 11:35:56 -07:00
Steven Allen
63d4b33fcf
Add CID Prefix constructors.
...
One can now generate a CID by calling:
```go
cid.NewPrefixV1(cid.DagCBOR, mh.SHA_256).Sum(data)
```
Lots of code was already doing this by manually constructing CID Prefixes but
that tends to be a bit verbose and error prone.
2017-08-30 12:42:46 -07:00
Steven Allen
19c1c0e32e
gx publish 0.7.18
gx/v0.7.18
2017-08-28 20:25:09 -07:00
Steven Allen
088f141a17
Merge pull request #33 from ipfs/gx/update-multibase
...
gx: update multibase
2017-08-28 20:22:53 -07:00
Steven Allen
758714796c
gx: update multibase
...
And fix test case.
2017-08-28 20:17:55 -07:00
Steven Allen
ed3563b69e
Merge pull request #31 from ipfs/kevina/cid-fmt
...
Implement 'cid-fmt' utility.
2017-08-28 16:56:05 -07:00
Kevin Atkinson
db11d7248a
Use an exit code of 1 on non-fatal errors and 2 on fatal errors.
2017-08-15 17:23:44 -04:00
Kevin Atkinson
68abb41a9b
Add ability to change CID version.
2017-08-15 15:34:15 -04:00
Kevin Atkinson
7333c60a00
Implement 'cid-fmt' utility.
2017-08-15 14:26:24 -04:00
Kevin Atkinson
f62e35b87a
Implement basic 'cid-fmt' utility.
...
Currently only implements printing the Cid prefix.
2017-08-15 03:46:48 -04:00
Jeromy Johnson
5652e6f751
Merge pull request #29 from Stebalien/gx/publish-0.7.17
...
gx publish 0.7.17
2017-07-10 12:45:42 -07:00
Steven Allen
fa428a337b
gx publish 0.7.17
gx/v0.7.17
2017-07-07 19:34:27 -07:00
Jeromy Johnson
e0f0e24c2d
Merge pull request #28 from ipfs/gx/publish-0.7.16
...
gx publish 0.7.16
2017-07-04 09:56:40 -07:00
Łukasz Magiera
1aa1093d28
gx publish 0.7.16
gx/v0.7.16
2017-07-04 18:45:18 +02:00
Jeromy Johnson
f4f9847100
Merge pull request #27 from ipfs/feat/codecov
...
Use Codecov instead of Coveralls
2017-07-03 16:33:39 -07:00
Jakub Sztandera
83b0d39470
Disable comments
2017-07-01 11:19:22 +02:00
Jakub Sztandera
b7772ebfe3
Use Codecov instead of Coveralls
...
As we do in most other repos.
2017-07-01 11:11:48 +02:00
Jeromy Johnson
e449699cc1
Merge pull request #26 from hermanjunge/feat/codecs-map
...
Added map of string to codecs
2017-06-30 11:52:50 -07:00
Herman Junge
7d345d4817
Switch from byte to uint64
2017-06-30 10:00:21 -04:00
Herman Junge
3c03b9e581
Improve tests
2017-06-30 03:01:26 -04:00
Herman Junge
f6990413f7
Added map of string to codecs
2017-06-29 21:00:23 -04:00
Jeromy Johnson
3f7f6c6a1d
Merge pull request #21 from ipfs/gx/0.7.15
...
gx publish 0.7.15
2017-06-19 12:12:57 -07:00
Łukasz Magiera
05eac5f7ca
gx publish 0.7.15
gx/v0.7.15
2017-06-19 18:31:26 +02:00
Jakub Sztandera
1f385a8224
Merge pull request #20 from ipfs/feat/strofbase
...
Implement StringOfBase function
2017-06-19 17:58:20 +02:00
Łukasz Magiera
b42583c8bf
Add StringOfBase function
2017-06-19 17:25:51 +02:00