|
Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
|
#include "ariadne/viewer.hpp"#include "arachne/contracts.hpp"#include "arachne/crypto.hpp"#include <algorithm>#include <array>#include <cstdint>#include <fstream>#include <map>#include <optional>#include <set>#include <stdexcept>#include <string_view>#include <utility>#include <vector>
Go to the source code of this file.
Namespaces | |
| namespace | arachne |
| namespace | arachne::ariadne |
| namespace | arachne::ariadne::anonymous_namespace{viewer.cpp} |
Functions | |
| const nlohmann::json & | arachne::ariadne::anonymous_namespace{viewer.cpp}::array_or_empty (const nlohmann::json &document, std::string_view field) |
| std::optional< std::string > | arachne::ariadne::anonymous_namespace{viewer.cpp}::projection_identifier (const nlohmann::json &value, std::string_view field, std::string_view integer_namespace) |
| std::optional< std::string > | arachne::ariadne::anonymous_namespace{viewer.cpp}::projection_identifier (const nlohmann::json &value, std::string_view integer_namespace) |
| std::string | arachne::ariadne::anonymous_namespace{viewer.cpp}::identifier (const nlohmann::json &value, std::string_view integer_namespace={}) |
| std::string | arachne::ariadne::anonymous_namespace{viewer.cpp}::entity_label (const nlohmann::json &value, const std::string &fallback) |
| void | arachne::ariadne::anonymous_namespace{viewer.cpp}::upsert_node (std::map< std::string, nlohmann::ordered_json, std::less<> > &nodes, nlohmann::ordered_json node) |
| std::string | arachne::ariadne::anonymous_namespace{viewer.cpp}::edge_id (std::string_view from, std::string_view to, std::string_view type, std::string_view source_id) |
| void | arachne::ariadne::anonymous_namespace{viewer.cpp}::append_human_edge (nlohmann::ordered_json &edges, std::string from, std::string to, std::string type, std::string assertion_id, std::string snapshot_id, const nlohmann::json &evidence=nlohmann::json::array()) |
| std::string | arachne::ariadne::anonymous_namespace{viewer.cpp}::read_file (const std::filesystem::path &path) |
| void | arachne::ariadne::anonymous_namespace{viewer.cpp}::write_file (const std::filesystem::path &path, std::string_view content) |
| void | arachne::ariadne::anonymous_namespace{viewer.cpp}::write_immutable_file (const std::filesystem::path &path, std::string_view content) |
| void | arachne::ariadne::anonymous_namespace{viewer.cpp}::validate_site_root (const std::filesystem::path &root) |