Parse branches.conf into a map of branch -> properties (BranchProps)
More...
#include <Branches.h>
Parse branches.conf into a map of branch -> properties (BranchProps)
◆ begin()
| auto SlKernCVS::Branches::begin |
( |
| ) |
const |
|
inlinenoexcept |
Obtain begin iterator of branches.
- Returns
- Begin iterator.
◆ create() [1/2]
| static Branches SlKernCVS::Branches::create |
( |
std::string_view |
branchesConf | ) |
|
|
staticnoexcept |
Parse provided branchesConf into Branches.
- Parameters
-
| branchesConf | branches.conf content to parse |
- Returns
- Branches parsed from
branchesConf
◆ create() [2/2]
| static std::optional<Branches> SlKernCVS::Branches::create |
( |
| ) |
|
|
static |
Download branches.conf and parse it into Branches.
- Returns
- Branches if successful or nullopt.
◆ end()
| auto SlKernCVS::Branches::end |
( |
| ) |
const |
|
inlinenoexcept |
Obtain end iterator of branches.
- Returns
- End iterator.
◆ filter()
| BranchesList SlKernCVS::Branches::filter |
( |
unsigned |
include = ANY, |
|
|
unsigned |
exclude = EXCLUDED |
|
) |
| const |
Obtain BranchesList according to a filter specified by include and exclude.
- Parameters
-
| include | Properties of branches to include in the output |
| exclude | Properties of branches to exclude from the output |
- Returns
- BranchesList according to the specified filter
◆ getBuildBranches() [1/2]
| static BranchesList SlKernCVS::Branches::getBuildBranches |
( |
std::string_view |
branchesConf | ) |
|
|
staticnoexcept |
Convert branchesConf to a list of branches which are built.
- Parameters
-
| branchesConf | branches.conf to parse |
- Returns
- List of built branches.
◆ getBuildBranches() [2/2]
| static std::optional<BranchesList> SlKernCVS::Branches::getBuildBranches |
( |
| ) |
|
|
static |
Download branches.conf and convert it to a list of branches which are built.
- Returns
- List of built branches.
◆ map()
Obtain whole branch map.
- Returns
- Branch mapping.
◆ merges()
| const BranchesList& SlKernCVS::Branches::merges |
( |
std::string_view |
branch | ) |
const |
|
inline |
Immediate branches that the specified branch merges.
- Parameters
-
| branch | Branch to find children of |
- Returns
- BranchesList of branches merged into
branch.
◆ mergesClosure()
| BranchesSet SlKernCVS::Branches::mergesClosure |
( |
std::string_view |
branch | ) |
const |
Closure of branches that the specified branch merges.
- Parameters
-
| branch | Branch to find children of |
- Returns
- Transitive BranchesSet of branches merged into
branch.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9/include/kerncvs/Branches.h