4 #include <ipfs_client/ipld/dag_node.h>
5 #include <ipfs_client/redirects.h>
14 std::optional<redirects::File> redirects_;
17 std::shared_ptr<DagNode> rooted()
override;
18 std::shared_ptr<DagNode> deroot()
override;
19 bool expired()
const override;
25 explicit Root(std::shared_ptr<DagNode> node);
26 ~
Root() noexcept override;
A block, an IPNS record, etc.
Definition: dag_node.h:69
Definition: resolution_state.h:21
Root(std::shared_ptr< DagNode > node)