Class to walk the KernCVS repository and report arch, flavor and configs via callbacks passed to the constructor.
More...
#include <CollectConfigs.h>
|
| enum | ConfigValue : char { Disabled = 'n'
, BuiltIn = 'y'
, Module = 'm'
, WithValue = 'v'
} |
| | Value for a config.
|
|
using | InsertArchFlavor = std::function<bool (const std::string &, const std::string &)> |
| | A callback invoked for arch and flavor.
|
| using | InsertConfig |
| | A callback invoked for arch, flavor, config, and its value.
|
Class to walk the KernCVS repository and report arch, flavor and configs via callbacks passed to the constructor.
◆ InsertConfig
Initial value:std::function<bool (const std::string &, const std::string &,
ConfigValue
Value for a config.
Definition CollectConfigs.h:23
A callback invoked for arch, flavor, config, and its value.
◆ CollectConfigs()
CollectConfigs constructor.
- Parameters
-
| repo | KernCVS repository to search in |
| insertArchFlavor | Callback to invoke for an arch and flavor |
| insertConfig | Callback to invoke for a config |
◆ collectConfigs()
| bool SlKernCVS::CollectConfigs::collectConfigs |
( |
const SlGit::Commit & | commit | ) |
|
|
noexcept |
The real work function of this class.
- Parameters
-
- Returns
- true on success.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/kerncvs/CollectConfigs.h