MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / get_prefix_text

Method get_prefix_text

src/indicators.hpp:2738–2744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2736 std::atomic<bool> multi_progress_mode_{false};
2737
2738 std::pair<std::string, int> get_prefix_text() {
2739 std::stringstream os;
2740 os << get_value<details::ProgressBarOption::prefix_text>();
2741 const auto result = os.str();
2742 const auto result_size = unicode::display_width(result);
2743 return {result, result_size};
2744 }
2745
2746 std::pair<std::string, int> get_postfix_text() {
2747 std::stringstream os;

Callers

nothing calls this directly

Calls 2

display_widthFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected