FOSSredder 0.5.0
Loading...
Searching...
No Matches
SqliteRegistry.cpp File Reference

Implements the SQLite-backed latest-path registry factory. More...

#include "core/ports/infra/storage/IRegistry.h"
#include <optional>
#include <sqlite3.h>
#include <stdexcept>
#include <string>
Include dependency graph for SqliteRegistry.cpp:

Go to the source code of this file.

Functions

std::shared_ptr< core::ports::storage::IRegistry > createSqliteRegistry (const std::string &dbPath)
 Create the SQLite-backed registry for the given path.

Detailed Description

Implements the SQLite-backed latest-path registry factory.

Definition in file SqliteRegistry.cpp.

Function Documentation

◆ createSqliteRegistry()

std::shared_ptr< core::ports::storage::IRegistry > createSqliteRegistry ( const std::string & dbPath)

Create the SQLite-backed registry for the given path.

Parameters
dbPathSQLite database path.
Returns
Shared registry implementation.

Definition at line 99 of file SqliteRegistry.cpp.

Here is the caller graph for this function: