spdlog/tests/utils.h
2019-09-15 18:34:29 +03:00

18 lines
420 B
C++

#pragma once
#include <cstddef>
#include <string>
std::size_t count_lines(const std::string &filename);
std::size_t count_files(const std::string &folder);
void prepare_logdir();
std::string file_contents(const std::string &filename);
std::size_t count_lines(const std::string &filename);
std::size_t get_filesize(const std::string &filename);
bool ends_with(std::string const &value, std::string const &ending);