|
|
static NodePtr | fromBytes (std::shared_ptr< Client > const &api, Cid const &, ByteView bytes) |
| |
|
static NodePtr | fromBytes (std::shared_ptr< Client > const &api, Cid const &, std::string_view bytes) |
| |
|
static NodePtr | fromBlock (PbDag const &) |
| |
|
ResolveResult | CallChild (ResolutionState &) |
| | As before, but it might be possible to create on the fly if not known.
|
| |
| ResolveResult | CallChild (ResolutionState &, std::function< NodePtr(std::string_view)> gen_child) |
| |
|
ResolveResult | CallChild (ResolutionState &, std::string_view link_key) |
| | Add the link if not present, then CallChild(ResolutionState)
|
| |
|
ResolveResult | CallChild (ResolutionState &, std::string_view link_key, std::string_view block_key) |
| |
| std::vector< std::pair< std::string, Link > > | links_ |
| |
| std::shared_ptr< Client > | api_ |
| |
◆ IpnsName()
Construct from a validated entry
◆ expired()
| bool ipfs::ipld::IpnsName::expired |
( |
| ) |
const |
|
overridevirtual |
- Returns
- whether this record should be considered expired
- Note
- Most useful for cached entries, but also can expire While sitting in the in-memory DAG, particularly by TTL
Reimplemented from ipfs::ipld::DagNode.
The documentation for this class was generated from the following file: