◆ Link() [1/2]
ipfs::ipld::Link::Link |
( |
std::string |
cid | ) |
|
|
explicit |
Construct an unresolved IPLD link
- Parameters
-
◆ Link() [2/2]
ipfs::ipld::Link::Link |
( |
std::string |
cid, |
|
|
std::shared_ptr< DagNode > |
node |
|
) |
| |
|
explicit |
Construct a resolved IPLD link
- Parameters
-
The | child's CID |
node | The node linked to if we already have it |
◆ cid
std::string ipfs::ipld::Link::cid |
String representation of the CID
◆ node
Ptr ipfs::ipld::Link::node |
The pointed-to node, or nullptr if not yet resolved
The documentation for this class was generated from the following file:
- library/include/ipfs_client/ipld/link.h