1 #ifndef IPFS_DIRECTORY_SHARD_H_
2 #define IPFS_DIRECTORY_SHARD_H_ 1
4 #include <ipfs_client/ipld/dag_node.h>
10 std::uint64_t
const fanout_;
15 std::vector<std::string> hexhash(std::string_view path_element)
const;
16 using HashIter = std::vector<std::string>::const_iterator;
17 ResolveResult resolve_internal(HashIter,
21 std::size_t hex_width()
const;
22 std::string listing_json()
const;
28 explicit DirShard(std::uint64_t fanout = 256UL);
A block, an IPNS record, etc.
Definition: dag_node.h:69
Definition: directory_shard.h:9
DirShard(std::uint64_t fanout=256UL)
Definition: resolution_state.h:21