summaryrefslogtreecommitdiff
path: root/libdeno/file_util.h
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-08-26 01:37:15 +0200
committerBert Belder <bertbelder@gmail.com>2018-08-26 18:27:23 +0200
commit26707446fc83a6f6c7152153db43db4152698f58 (patch)
tree184a4765b5d5d15046a96c49e0db6800729bcf16 /libdeno/file_util.h
parentddddd50540847a34697380a6f1fc4336d3f20c83 (diff)
libdeno: add file utilities Dirname() and ExePath()
Diffstat (limited to 'libdeno/file_util.h')
-rw-r--r--libdeno/file_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdeno/file_util.h b/libdeno/file_util.h
index c8c0e5759..63ecef907 100644
--- a/libdeno/file_util.h
+++ b/libdeno/file_util.h
@@ -7,6 +7,8 @@
namespace deno {
bool ReadFileToString(const char* fn, std::string* contents);
std::string Basename(std::string const& filename);
+std::string Dirname(std::string const& filename);
+bool ExePath(std::string* path);
} // namespace deno
#endif // FILE_UTIL_H_