27 : project_root_{std::move(project_root)}
31 [[nodiscard]] std::unordered_map<ArtifactKey, std::string>
34 [[nodiscard]] std::unordered_map<ArtifactKey, std::string>
38 const std::string &tileset_name,
const std::unordered_map<ArtifactKey, std::string> &checksums)
const override;
41 const std::filesystem::path project_root_;
Abstract service for managing artifact checksums.
A result type that maintains a chainable sequence of errors for debugging and error reporting.
Pokeemerald project filesystem-based implementation of ArtifactChecksumProvider.
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.
ChainableResult< 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::unordered_map< ArtifactKey, std::string > compute_tileset_artifact_checksums(const std::vector< ArtifactKey > &keys) const override
Computes checksums for the given Tileset artifacts.
ProjectArtifactChecksumProvider(std::filesystem::path project_root)