ipfs-chromium
Loading...
Searching...
No Matches
symlink.h
1#ifndef IPFS_SYMLINK_H_
2#define IPFS_SYMLINK_H_
3
4#include <ipfs_client/ipld/dag_node.h>
5
6namespace ipfs::ipld {
7class 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);
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
Just an observing (non-owning) pointer.
Definition raw_ptr.h:31