Iros
Loading...
Searching...
No Matches
package_database.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
config.h
"
4
#include "
di/container/string/string_view.h
"
5
#include "
di/container/tree/tree_set.h
"
6
#include "
di/vocab/error/result.h
"
7
#include "
package.h
"
8
9
namespace
pm
{
10
class
PackageDatabase
{
11
public
:
12
auto
load_package
(
Config
const
& config,
di::TransparentStringView
name) ->
di::Result<Package&>
;
13
14
private
:
15
di::TreeSet<Package>
m_packages;
16
};
17
}
di::container::TreeSet
Definition
tree_set.h:30
pm::Config
Definition
config.h:10
pm::PackageDatabase
Definition
package_database.h:10
pm::PackageDatabase::load_package
auto load_package(Config const &config, di::TransparentStringView name) -> di::Result< Package & >
Definition
package_database.cpp:8
di::container::TransparentStringView
string::StringViewImpl< string::TransparentEncoding > TransparentStringView
Definition
string_view.h:13
di::vocab::Result
Expected< T, Error > Result
Definition
result.h:8
pm
Definition
config.cpp:3
package.h
result.h
string_view.h
tree_set.h
config.h
userland
package_manager
package_database.h
Generated by
1.13.0