Go to the documentation of this file.
34 #ifndef GOOGLE_PROTOBUF_TESTING_FILE_H__
35 #define GOOGLE_PROTOBUF_TESTING_FILE_H__
37 #include <google/protobuf/stubs/common.h>
54 bool text_mode =
false);
107 #endif // GOOGLE_PROTOBUF_TESTING_FILE_H__
static void WriteStringToFileOrDie(const string &contents, const string &name)
static bool WriteStringToFile(const string &contents, const string &name)
static void ReadFileToStringOrDie(const string &name, string *output)
static bool ReadFileToString(const string &name, string *output, bool text_mode=false)
static bool GetContents(const std::string &name, std::string *output, bool)
static bool SetContents(const std::string &name, const std::string &contents, bool)
static bool RecursivelyCreateDir(const string &path, int mode)
static bool ChangeWorkingDirectory(const string &new_working_directory)
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File)
static bool CreateDir(const string &name, int mode)
static void DeleteRecursively(const string &name, void *dummy1, void *dummy2)
const int DEFAULT_FILE_MODE
static bool GetContentsAsText(const std::string &name, std::string *output, bool)
static bool Exists(const string &name)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:23