diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2018-08-19 16:44:10 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-19 11:27:47 -0400 |
commit | aaabc853e84a03f72208c0e80634bd986c3ca4e2 (patch) | |
tree | 24cb4daf07c7b52b9260e041289ab2e79f25f5a8 /libdeno/file_util.h | |
parent | 146bc93b81ef1775a3a22784c74cbf0c8bbd1c9e (diff) |
chore: move libdeno files to //libdeno/
Diffstat (limited to 'libdeno/file_util.h')
-rw-r--r-- | libdeno/file_util.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libdeno/file_util.h b/libdeno/file_util.h new file mode 100644 index 000000000..c8c0e5759 --- /dev/null +++ b/libdeno/file_util.h @@ -0,0 +1,12 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. +#ifndef FILE_UTIL_H_ +#define FILE_UTIL_H_ + +#include <string> + +namespace deno { +bool ReadFileToString(const char* fn, std::string* contents); +std::string Basename(std::string const& filename); +} // namespace deno + +#endif // FILE_UTIL_H_ |