Organize and consolidate header files (#220)

This commit is contained in:
2026-05-03 21:44:37 -04:00
committed by GitHub
parent 031be8ad5d
commit 26635ace84
43 changed files with 218 additions and 275 deletions

View File

@@ -4,7 +4,7 @@
* construction and loads named prompt files on demand with in-process caching.
*/
#include "services/prompt_directory.h"
#include "services/prompting/prompt_directory.h"
#include <spdlog/spdlog.h>

View File

@@ -5,8 +5,8 @@
#include <stdexcept>
#include "services/sqlite_export_service.h"
#include "services/sqlite_export_service_helpers.h"
#include "services/database/sqlite_export_service.h"
#include "services/database/sqlite_export_service_helpers.h"
void SqliteExportService::Finalize() {
if (db_handle_ == nullptr) {
@@ -28,4 +28,4 @@ void SqliteExportService::Finalize() {
RollbackAndCloseNoThrow();
throw;
}
}
}

View File

@@ -1,4 +1,4 @@
#include "services/sqlite_connection_helpers.h"
#include "services/database/sqlite_connection_helpers.h"
#include <stdexcept>

View File

@@ -1,4 +1,4 @@
#include "services/sqlite_statement_helpers.h"
#include "services/database/sqlite_statement_helpers.h"
#include <boost/json.hpp>
#include <cstring>
@@ -6,7 +6,7 @@
#include <memory>
#include <stdexcept>
#include "services/sqlite_connection_helpers.h"
#include "services/database/sqlite_connection_helpers.h"
namespace sqlite_export_service_internal {

View File

@@ -8,8 +8,8 @@
#include <stdexcept>
#include <string>
#include "services/sqlite_export_service.h"
#include "services/sqlite_export_service_helpers.h"
#include "services/database/sqlite_export_service.h"
#include "services/database/sqlite_export_service_helpers.h"
std::filesystem::path SqliteExportService::BuildDatabasePath() const {
std::filesystem::path base_filename("biergarten_seed_" + run_timestamp_utc_ +

View File

@@ -8,8 +8,8 @@
#include <stdexcept>
#include <string>
#include "services/sqlite_export_service.h"
#include "services/sqlite_export_service_helpers.h"
#include "services/database/sqlite_export_service.h"
#include "services/database/sqlite_export_service_helpers.h"
constexpr int kLocationPrecision = 17;

View File

@@ -3,7 +3,7 @@
* @brief SqliteExportService constructor and destructor implementation.
*/
#include "services/sqlite_export_service.h"
#include "services/database/sqlite_export_service.h"
#include <memory>

View File

@@ -9,7 +9,7 @@
#include <string>
#include <string_view>
#include "services/wikipedia_service.h"
#include "services/enrichment/wikipedia_service.h"
std::string WikipediaService::FetchExtract(std::string_view query) {
const std::string cache_key(query);

View File

@@ -7,7 +7,7 @@
#include <string>
#include "services/wikipedia_service.h"
#include "services/enrichment/wikipedia_service.h"
std::string WikipediaService::GetLocationContext(const Location& loc) {
if (!client_) {

View File

@@ -3,7 +3,7 @@
* @brief WikipediaService constructor implementation.
*/
#include "services/wikipedia_service.h"
#include "services/enrichment/wikipedia_service.h"
#include <utility>