Blaze 0.0.1
The ultra high-performance JSON Schema evaluator
Loading...
Searching...
No Matches
sourcemeta::blaze::Configuration::Lock Class Reference

A lock file that tracks fetched dependency hashes. More...

Classes

struct  Entry

Public Types

using const_iterator

Public Member Functions

auto emplace (const sourcemeta::core::JSON::String &uri, const std::filesystem::path &path, const sourcemeta::core::JSON::String &hash, Entry::HashAlgorithm hash_algorithm=Entry::HashAlgorithm::SHA256) -> void
auto erase (const sourcemeta::core::JSON::String &uri) -> void
auto size () const noexcept -> std::size_t
auto at (const sourcemeta::core::JSON::String &uri) const -> std::optional< std::reference_wrapper< const Entry > >
auto begin () const noexcept -> const_iterator
auto end () const noexcept -> const_iterator
auto check (const sourcemeta::core::JSON::String &uri, const std::filesystem::path &expected_path, const ReadCallback &reader) const -> Entry::Status
auto to_json (const std::filesystem::path &lock_base_path) const -> sourcemeta::core::JSON

Static Public Member Functions

static auto from_json (const sourcemeta::core::JSON &value, const std::filesystem::path &lock_base_path) -> Lock

Detailed Description

A lock file that tracks fetched dependency hashes.

Member Typedef Documentation

◆ const_iterator

using sourcemeta::blaze::Configuration::Lock::const_iterator
Initial value:
std::map<sourcemeta::core::JSON::String, Entry>::const_iterator

The documentation for this class was generated from the following file:
  • /home/runner/work/blaze/blaze/src/configuration/include/sourcemeta/blaze/configuration.h