pmt: reformat code and improve workflow

This commit is contained in:
2025-09-11 10:58:14 +03:00
parent 83c56c795e
commit 37dc3ac94b
11 changed files with 42 additions and 49 deletions

View File

@@ -136,8 +136,7 @@ basic_partition_map_builder::basic_partition_map_builder() {
LOGN(MAP, ERROR) << "Cannot build map by any default search entry."
<< std::endl;
LOGN(MAP, INFO) << "default constructor ended work."
<< std::endl;
LOGN(MAP, INFO) << "default constructor ended work." << std::endl;
_insert_logicals(_build_map("/dev/block/mapper", true));
_map_builded = true;
}
@@ -420,7 +419,8 @@ Info basic_partition_map_builder::operator[](const int index) const {
return _current_map[index];
}
BasicInf basic_partition_map_builder::operator[](const std::string_view& name) const {
BasicInf
basic_partition_map_builder::operator[](const std::string_view &name) const {
return _current_map[name];
}