2
0
mirror of https://github.com/gabime/spdlog.git synced 2025-02-17 16:19:38 +08:00
spdlog/tests/utils.h

16 lines
368 B
C++

#pragma once
#include <string>
#include<cstddef>
std::size_t count_lines(const std::string& filename);
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);