aboutsummaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-01-23 00:19:30 +0100
committerGitHub <noreply@github.com>2023-01-23 00:19:30 +0100
commit87d509e4625df2d76a80f14cab3d420bd58ba20a (patch)
tree8a17b87abf96312a79f49c05c7c4824766bcb39f /src/filesys.h
parent6f5703baf1737ca1d7dd70982e878fd83d288cdd (diff)
downloadminetest-87d509e4625df2d76a80f14cab3d420bd58ba20a.tar.xz
Implement --debugger option to improve UX when debugging crashes (#13157)
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h
index a26fe28d6..fa9ddcaa8 100644
--- a/src/filesys.h
+++ b/src/filesys.h
@@ -60,6 +60,8 @@ bool IsPathAbsolute(const std::string &path);
bool IsDir(const std::string &path);
+bool IsExecutable(const std::string &path);
+
inline bool IsFile(const std::string &path)
{
return PathExists(path) && !IsDir(path);