blob: 0177f2c9461af5b4402d8ce2d75aedae05156ab1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2018-2019 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);
std::string Dirname(std::string const& filename);
bool ExePath(std::string* path);
} // namespace deno
#endif // FILE_UTIL_H_
|