ipfs-chromium
symlink.h
1 #ifndef IPFS_SYMLINK_H_
2 #define IPFS_SYMLINK_H_
3 
4 #include <ipfs_client/ipld/dag_node.h>
5 
6 namespace ipfs::ipld {
7 class Symlink : public DagNode {
8  std::string const target_;
9 
10  ResolveResult resolve(ResolutionState& params) override;
11 
12  bool is_absolute() const;
13 
14  public:
21  explicit Symlink(std::string target);
22  ~Symlink() noexcept override;
23 };
24 } // namespace ipfs::ipld
25 
26 #endif // IPFS_SYMLINK_H_
A block, an IPNS record, etc.
Definition: dag_node.h:69
Definition: resolution_state.h:21