You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spdlog/tests/utils.h

18 lines
420 B
C

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