| 367 | } |
| 368 | |
| 369 | bool Confirm() { |
| 370 | std::cout << "[Y/N] "; |
| 371 | std::string ensure; |
| 372 | if (!std::getline(std::cin, ensure)) { |
| 373 | std::cout << "Get input error" << std::endl; |
| 374 | return false; |
| 375 | } |
| 376 | if (ensure != "Y") { |
| 377 | return false; |
| 378 | } |
| 379 | return true; |
| 380 | } |
| 381 | |
| 382 | CliStatus GetMeta(const std::string& meta_server, common::ThreadPool* thread_pool, |
| 383 | const std::string& table_name, const std::string& start_key) { |
no outgoing calls
no test coverage detected