|
|
|
|
|
|
|
|
std::string _name; |
|
|
std::string _name; |
|
|
neo::url _base_url; |
|
|
neo::url _base_url; |
|
|
|
|
|
|
|
|
|
|
|
public: |
|
|
remote_repository(std::string name, neo::url url) |
|
|
remote_repository(std::string name, neo::url url) |
|
|
: _name(std::move(name)) |
|
|
: _name(std::move(name)) |
|
|
, _base_url(std::move(url)) {} |
|
|
, _base_url(std::move(url)) {} |
|
|
remote_repository() = default; |
|
|
remote_repository() = default; |
|
|
|
|
|
|
|
|
public: |
|
|
|
|
|
static remote_repository connect(std::string_view url); |
|
|
static remote_repository connect(std::string_view url); |
|
|
|
|
|
|
|
|
void store(neo::sqlite3::database_ref); |
|
|
void store(neo::sqlite3::database_ref); |