kubo/core/coreapi
Hannah Howard f63a997c35
IPLD Prime In IPFS: Target Merge Branch (#7976)
* feat: switch to using go-ipld-prime for codecs, path resolution, and the `dag put/get` commands
* fix: `dag put/get` not roundtripping due to an extra new line being added (https://github.com/ipfs/go-ipfs/issues/3503)

More detailed information is in the CHANGELOG.md file. Very high level:
* IPLD codecs (and their plugins) must use go-ipld-prime
* Added support for the dag-json codec
* `dag get/put` use IPLD codec names from the multicodec table
* `dag get` defaults to dag-json output instead of json, but may output with other codecs
* Data model pathing can be achieved using the /ipld prefix. For example, you can use `/ipld/QmFoo/Links/0/Hash` to traverse through a DagPB node
* With `dag get/put` the DagPB field names have been changed to match the ones in the protobuf listed in the specification

Co-authored-by: hannahhoward <hannah@hannahhoward.net>
Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
Co-authored-by: acruikshank <acruikshank@example.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Will Scott <will.scott@protocol.ai>
Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Eric Myhre <hash@exultant.us>
2021-08-17 13:32:49 -04:00
..
test fix: remove some deprecated calls 2021-08-13 14:09:43 -07:00
block.go extract the pinner to go-ipfs-pinner and dagutils into go-merkledag 2019-12-02 15:45:44 -05:00
coreapi.go IPLD Prime In IPFS: Target Merge Branch (#7976) 2021-08-17 13:32:49 -04:00
dag.go fix: use bitswap sessions for ipfs refs 2020-06-02 17:36:30 -07:00
dht.go fix: update for merkledag API changes 2019-07-25 19:26:06 -07:00
key.go IPNS format keys in b36cid 2020-08-04 00:18:29 -04:00
name.go update for the new namesys api 2021-05-10 21:04:57 -07:00
object.go fix: return an error when an unknown object type is passed 2020-11-30 17:59:37 -08:00
path.go IPLD Prime In IPFS: Target Merge Branch (#7976) 2021-08-17 13:32:49 -04:00
pin.go Add comment about reading until channel closed 2021-03-29 15:11:38 -07:00
provider.go Refactor per code climate rules 2019-03-11 09:55:13 -07:00
pubsub.go update libp2p for stream closure refactor 2020-11-13 13:59:03 -08:00
swarm.go perf: set an appropriate capacity 2021-07-05 19:48:59 +07:00
unixfs.go support async datastores 2019-12-19 00:59:31 -05:00