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