asteroidgen/tests/utils.h
Gero Müller a4163d8b1b Squashed 'vendor/spdlog/' content from commit 47c17be
git-subtree-dir: vendor/spdlog
git-subtree-split: 47c17be9a111ab20123e1bd8e6c6717aa2adfea2
2017-11-02 12:46:32 +10:00

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);