Commit Graph

23 Commits

Author SHA1 Message Date
Łukasz Magiera
d52ea2fe1a coreapi: name/key functional options
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@7a786c5509

This commit was moved from ipfs/boxo@c02dc49770
2018-01-01 17:35:37 +01:00
Łukasz Magiera
cb3c588799 coreapi: Keystore API proposal
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@4fbdf56dc2

This commit was moved from ipfs/boxo@286e418f6c
2018-01-01 17:35:37 +01:00
Łukasz Magiera
71593fb48c coreapi: Name API proposal
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@1b5e997ca8

This commit was moved from ipfs/boxo@8972ab9e11
2018-01-01 17:35:37 +01:00
Łukasz Magiera
e68b73b54e coreapi: dag review
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@20fa7a599e

This commit was moved from ipfs/boxo@bae5f5303e
2017-12-23 04:49:00 +01:00
Łukasz Magiera
e6a16b57e6 coreapi: functional options for DagAPI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@39f8afada8

This commit was moved from ipfs/boxo@9901857d2d
2017-12-20 15:03:13 +01:00
Łukasz Magiera
363c556e23 coreapi: add tests for dag
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@c593c49d85

This commit was moved from ipfs/boxo@b0b4e68ff7
2017-12-20 13:47:32 +01:00
Łukasz Magiera
3051f3b601 coreapi: DAG API proposal
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@c6015845cb

This commit was moved from ipfs/boxo@b351a5a73c
2017-12-20 13:44:06 +01:00
Whyrusleeping
d831e5455d Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#4453 from ipfs/gx/update-5osgb9
gx: update go-multihash

This commit was moved from ipfs/interface-go-ipfs-core@66117d4cd6

This commit was moved from ipfs/boxo@09ed32bcc3
2017-12-14 17:59:26 -08:00
Łukasz Magiera
66f305fb51 docs/coreapi: Add some documentation to CoreAPI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@2fbdcd09c8

This commit was moved from ipfs/boxo@9cc221d2ae
2017-12-15 01:34:49 +01:00
Steven Allen
0826705811 gx: update go-multihash
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>


This commit was moved from ipfs/interface-go-ipfs-core@b5fea556bf

This commit was moved from ipfs/boxo@efbab5e602
2017-12-14 13:09:51 -08:00
Steven Allen
9065eaf739 gx: update go-cid, go-multibase, base32
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>


This commit was moved from ipfs/interface-go-ipfs-core@6c6807b399

This commit was moved from ipfs/boxo@d45714f3fa
2017-09-01 17:46:49 -07:00
Jeromy
a7a3a37e82 update go-multihash and bubble up changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@ee87438041

This commit was moved from ipfs/boxo@0997d0c7d5
2017-07-11 19:27:43 -07:00
Łukasz Magiera
3ba2027081 Update go-datastore to 1.2.2, go-cid to 0.7.16
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@e706b34ea1

This commit was moved from ipfs/boxo@624057e9d9
2017-07-04 20:18:57 +02:00
Steven Allen
4c057b0fc3 blocks: gx import go-block-format
And updated related dependencies.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>


This commit was moved from ipfs/interface-go-ipfs-core@477bd882b4

This commit was moved from ipfs/boxo@8fd5b21383
2017-06-29 22:12:14 +02:00
Jeromy
393471674c bubble up updates from go-multihash changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@be73d10538

This commit was moved from ipfs/boxo@dcecd3345b
2017-04-20 20:28:04 +02:00
Lars Gierth
1c53ef3f98 coreapi: make the interfaces path centric
The new coreiface.Path maps a path to the cid.Cid
resulting from a full path resolution.

The path is internally represented as a go-ipfs/path.Path,
but that doesn't matter to the outside.

Apart from the path-to-CID mapping, it also aims to hold all
resolved segment CIDs of the path. Right now it only exposes
Root(), and only for flat paths a la /ipfs/Qmfoo. In other cases,
the root is nil.

In the future, resolution will internally use
go-ipfs/path.Resolver.ResolvePathComponents and thus always return
the proper resolved segments, via Root(), or a future Segments() func.

- Add coreiface.Path with Cid() and Root().
- Add CoreAPI.ResolvePath() for getting a coreiface.Path.
- All functions now expect and return coreiface.Path.
- Add ParsePath() and ParseCid() for constructing a coreiface.Path.
- Add coreiface.Node and Link which are simply go-ipld-node.Node and Link.
- Add CoreAPI.ResolveNode() for getting a Node from a Path.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>


This commit was moved from ipfs/interface-go-ipfs-core@66af039105

This commit was moved from ipfs/boxo@61e07c830c
2017-03-17 03:47:59 +01:00
Lars Gierth
5bce81d63e coreapi: smarter way of dealing with the different APIs
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>


This commit was moved from ipfs/interface-go-ipfs-core@e69000d481

This commit was moved from ipfs/boxo@295f130550
2017-03-17 02:35:17 +01:00
Jeromy
95beda800f update go-multihash and bubble up deps
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@c7723c40fe

This commit was moved from ipfs/boxo@c8a57ca4e3
2017-02-12 12:25:41 -08:00
Jeromy
88ba95d954 bubble up go-datastore deps
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>


This commit was moved from ipfs/interface-go-ipfs-core@3f68a10d21

This commit was moved from ipfs/boxo@da6ace83a4
2016-11-28 22:29:38 -08:00
Jeromy
10bf6e9171 update to newer ipld node interface with Copy and better Tree
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>


This commit was moved from ipfs/interface-go-ipfs-core@23f95c6d1e

This commit was moved from ipfs/boxo@4f28fc7772
2016-11-15 18:00:49 -08:00
Lars Gierth
a3fb17377b coreapi: reuse go-ipld-node.Link
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>


This commit was moved from ipfs/interface-go-ipfs-core@c34bbcac7c

This commit was moved from ipfs/boxo@54a9bc5374
2016-11-07 18:25:49 +01:00
Lars Gierth
a4a55e7799 coreapi: add Add()
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>


This commit was moved from ipfs/interface-go-ipfs-core@87e9bc0419

This commit was moved from ipfs/boxo@b83c5e3fc3
2016-11-07 18:25:49 +01:00
Lars Gierth
1e57383685 coreapi: get going, add Cat() and Ls()
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>


This commit was moved from ipfs/interface-go-ipfs-core@d6cc518f50

This commit was moved from ipfs/boxo@9a989442e7
2016-11-07 18:25:49 +01:00