| 36 | } |
| 37 | |
| 38 | Lazy<int> CountTextChar(const Texts &Content, char c) { |
| 39 | int Result = 0; |
| 40 | for (const auto &line : Content) |
| 41 | Result += co_await CountLineChar(line, c); |
| 42 | co_return Result; |
| 43 | } |
| 44 | |
| 45 | Lazy<int> CountFileCharNum(const std::string &filename, char c) { |
| 46 | Texts Contents = co_await ReadFile(filename); |
no test coverage detected