mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
15 lines
378 B
C
15 lines
378 B
C
|
// 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_
|