ipfs-chromium
library
src
ipfs_client
ipld
chunk.h
1
#ifndef IPFS_CHUNK_H_
2
#define IPFS_CHUNK_H_
3
4
#include <ipfs_client/ipld/dag_node.h>
5
6
namespace
ipfs::ipld {
13
class
Chunk
:
public
DagNode
{
14
std::string
const
data_;
15
16
ResolveResult resolve(
ResolutionState
&)
override
;
17
18
public
:
19
explicit
Chunk
(std::string);
20
~
Chunk
() noexcept
override
;
21
};
22
}
// namespace ipfs::ipld
23
24
#endif
// IPFS_CHUNK_H_
ipfs::ipld::Chunk
Definition:
chunk.h:13
ipfs::ipld::DagNode
A block, an IPNS record, etc.
Definition:
dag_node.h:69
ipfs::ipld::ResolutionState
Definition:
resolution_state.h:21
Generated by
1.9.1