| 2700 | } |
| 2701 | |
| 2702 | int ShellState::ShellLoadHistory(const char *path) { |
| 2703 | #ifdef HAVE_LINENOISE |
| 2704 | if (rl_version == ReadLineVersion::LINENOISE) { |
| 2705 | return linenoiseHistoryLoad(path); |
| 2706 | } |
| 2707 | #endif |
| 2708 | return 0; |
| 2709 | } |
| 2710 | |
| 2711 | int ShellState::ShellSaveHistory(const char *path) { |
| 2712 | #ifdef HAVE_LINENOISE |
no test coverage detected