Files
aare/file_io/src/helpers.cpp
2024-04-02 12:26:51 +02:00

13 lines
260 B
C++

#include "aare/helpers.hpp"
namespace aare {
bool is_master_file(std::filesystem::path fpath) {
std::string stem = fpath.stem();
if (stem.find("_master_") != std::string::npos)
return true;
else
return false;
}
}// namespace aare