pmt: New features and improvements

- Added type getter and reboot function
 - Writed a garbage collector, so manually freeing memory and closing file descriptors is removed
 - Some other improvements
This commit is contained in:
2025-08-09 12:48:04 +03:00
parent 8b3e886eee
commit 8e629d60d0
28 changed files with 1826 additions and 1265 deletions

View File

@@ -14,6 +14,7 @@
limitations under the License.
*/
#include <fcntl.h>
#include <vector>
#include <memory>
#include <string>
@@ -69,7 +70,7 @@ namespace PartitionManager {
}
LOGN(PMTF, INFO) << "not found any used function from command-line." << std::endl;
print("Target progress is not specified. Specify a progress.");
println("Target progress is not specified. Specify a progress.");
return false;
}
} // namespace PartitionManager