From 5094738201682fdefd9e874ee21def914583a64a Mon Sep 17 00:00:00 2001 From: Bryce Lorenz Kille Date: Mon, 21 Aug 2023 11:53:40 -0500 Subject: [PATCH] Remove unused header --- src/common/filesystem.hpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/common/filesystem.hpp 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); -} - -}