![]() |
Mads
Multi-Agent Distributed System
|
#include <atomic>#include <cstddef>#include <cstdint>#include <filesystem>#include <fstream>#include <stdexcept>#include <string>#include <string_view>#include <system_error>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| namespace | Mads |
| namespace | Mads::detail |
Functions | |
| uint64_t | Mads::detail::fnv1a64 (const void *data, size_t len) |
| std::string | Mads::detail::digest_hex (std::string_view bytes) |
| std::filesystem::path | Mads::detail::attachment_cache_root () |
| void | Mads::detail::sweep_stale (const std::filesystem::path &agent_dir, std::string_view keep_digest, const std::string &name, const std::string &ext) |
| std::filesystem::path | Mads::detail::store_attachment (const std::string &name, const std::string &ext, const std::string &bytes) |
| Persist a broker-served attachment under its content digest and return the path to load it from. | |