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 porytiles {
10
11std::unordered_map<ArtifactKey, std::string>
12NoopArtifactChecksumProvider::compute_tileset_artifact_checksums(const std::vector<ArtifactKey> & /*keys*/) const
13{
14 return {};
15}
16
17std::unordered_map<ArtifactKey, std::string>
19{
20 return {};
21}
22
24 const std::string & /*name*/, const std::unordered_map<ArtifactKey, std::string> & /*checksums*/) const
25{
26 return {};
27}
28
29} // namespace porytiles
A result type that maintains a chainable sequence of errors for debugging and error reporting.
std::unordered_map< ArtifactKey, std::string > load_cached_tileset_checksums(const std::string &name) const override
Loads the cached checksums for the given Tileset.
ChainableResult< void > cache_tileset_checksums(const std::string &name, const std::unordered_map< ArtifactKey, std::string > &checksums) const override
Caches checksums for the given Tileset to persistent storage.
std::unordered_map< ArtifactKey, std::string > compute_tileset_artifact_checksums(const std::vector< ArtifactKey > &keys) const override
Computes checksums for the given Tileset artifacts.