diff options
Diffstat (limited to 'src/file_util.h')
-rw-r--r-- | src/file_util.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/file_util.h b/src/file_util.h new file mode 100644 index 000000000..87e39299d --- /dev/null +++ b/src/file_util.h @@ -0,0 +1,14 @@ +// Copyright 2018 Ryan Dahl <ry@tinyclouds.org> +// All rights reserved. MIT License. +#ifndef FILE_UTIL_H_ +#define FILE_UTIL_H_ + +#include <string> + +namespace deno { +bool WriteDataAsCpp(const char* name, const char* filename, + const std::string& data); +bool ReadFileToString(const char* fn, std::string* contents); +} // namespace deno + +#endif // FILE_UTIL_H_ |