ipfs-chromium
library
src
ipfs_client
ipld
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_
ipfs::ipld::DagNode
A block, an IPNS record, etc.
Definition:
dag_node.h:69
ipfs::ipld::ResolutionState
Definition:
resolution_state.h:21
ipfs::ipld::Symlink
Definition:
symlink.h:7
ipfs::ipld::Symlink::Symlink
Symlink(std::string target)
Generated by
1.9.1