Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

utils.h 367 B

12345678910111213141516
  1. #pragma once
  2. #include <cstddef>
  3. #include <string>
  4. std::size_t count_lines(const std::string &filename);
  5. void prepare_logdir();
  6. std::string file_contents(const std::string &filename);
  7. std::size_t count_lines(const std::string &filename);
  8. std::size_t get_filesize(const std::string &filename);
  9. bool ends_with(std::string const &value, std::string const &ending);