diff --git a/src/common/filesystem.hpp b/src/common/filesystem.hpp deleted file mode 100644 index 06c9fcd..0000000 --- a/src/common/filesystem.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include - -namespace fs { -/** - * Check if a file exists - * @return true if and only if the file exists, false else - */ -bool file_exists(const std::string& file) { - struct stat buf; - return (stat(file.c_str(), &buf) == 0); -} - -}