ipfs-chromium
Public Types | Public Member Functions | List of all members
ipfs::Partition Class Reference

#include <library/include/ipfs_client/partition.h>

Inheritance diagram for ipfs::Partition:
Inheritance graph
[legend]
Collaboration diagram for ipfs::Partition:
Collaboration graph
[legend]

Public Types

using MimeDetection = std::function< std::string(std::string, std::string_view, std::string const &)>
 

Public Member Functions

void build_response (std::shared_ptr< IpfsRequest >)
 
bool add_node (std::string key, ipld::NodePtr)
 
bool has_key (std::string const &k) const
 
std::size_t Stored () const
 
 Partition (std::shared_ptr< gw::Requestor > requestor, std::shared_ptr< Client >)
 

Detailed Description

A partition of your in-memory stored IPFS DAGs Potentially useful in the fight against cache timing attacks


The documentation for this class was generated from the following file: