2016-04-20 04:57:49 -04:00
|
|
|
#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);
|
|
|
|
|
2017-10-12 19:04:31 -04:00
|
|
|
bool ends_with(std::string const & value, std::string const & ending);
|