From 3b595253a2e9f8badc416f85d0b09bf48f344634 Mon Sep 17 00:00:00 2001 From: Tristan Marion Date: Fri, 22 Jun 2018 15:30:35 +0200 Subject: Move `deno2` folder to `src` (#277) --- src/file_util.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/file_util.h (limited to 'src/file_util.h') 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 +// All rights reserved. MIT License. +#ifndef FILE_UTIL_H_ +#define FILE_UTIL_H_ + +#include + +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_ -- cgit v1.2.3