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
:
15
explicit
Symlink
(std::string target);
16
~
Symlink
() noexcept
override
;
17
};
18
}
// namespace ipfs::ipld
19
20
#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
Generated by
1.9.1