Porytiles
Loading...
Searching...
No Matches
noop_artifact_checksum_provider.cpp
Go to the documentation of this file.
2
3#include <string>
4#include <unordered_map>
5
8
9namespace porytiles2 {
10
11std::unordered_map<ArtifactKey, std::string>
13{
14 return {};
15}
16
17std::unordered_map<ArtifactKey, std::string>
19{
20 return {};
21}
22
24 const std::string &tileset_name, const std::unordered_map<ArtifactKey, std::string> &checksums) const
25{
26 return {};
27}
28
29} // namespace porytiles2
std::unordered_map< ArtifactKey, std::string > load_cached_tileset_checksums(const std::string &tileset_name) const override
Loads the cached checksums for the given Tileset.
std::unordered_map< ArtifactKey, std::string > compute_tileset_artifact_checksums(const std::string &tileset_name) const override
Computes checksums for the artifacts that belong to the given Tileset.
Result< void > cache_tileset_checksums(const std::string &tileset_name, const std::unordered_map< ArtifactKey, std::string > &checksums) const override
Caches checksums for the given Tileset to persistent storage.
std::expected< T, E > Result
A result with some type T on success, otherwise an error of type E.
Definition result.hpp:25