Don't reload archive text products that have already been loaded

This commit is contained in:
Dan Paulat 2025-04-06 00:11:09 -05:00
parent cc54e4d834
commit 33cfd4bc0e
4 changed files with 87 additions and 15 deletions

View file

@ -5,6 +5,8 @@
#include <memory>
#include <string>
#include <boost/outcome/result.hpp>
namespace scwx::provider
{
@ -23,7 +25,7 @@ public:
IemApiProvider(IemApiProvider&&) noexcept;
IemApiProvider& operator=(IemApiProvider&&) noexcept;
static std::vector<std::string>
static boost::outcome_v2::result<std::vector<std::string>>
ListTextProducts(std::chrono::sys_time<std::chrono::days> date,
std::optional<std::string_view> cccc = {},
std::optional<std::string_view> pil = {});