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:
15  explicit Symlink(std::string target);
16  ~Symlink() noexcept override;
17 };
18 } // namespace ipfs::ipld
19 
20 #endif // IPFS_SYMLINK_H_
A block, an IPNS record, etc.
Definition: dag_node.h:69
Definition: resolution_state.h:21