#include <file.h>
Static Public Member Functions | |
static bool | ChangeWorkingDirectory (const std::string &new_working_directory) |
static bool | ChangeWorkingDirectory (const string &new_working_directory) |
static bool | CreateDir (const std::string &name, int mode) |
static bool | CreateDir (const string &name, int mode) |
static void | DeleteRecursively (const std::string &name, void *dummy1, void *dummy2) |
static void | DeleteRecursively (const string &name, void *dummy1, void *dummy2) |
static bool | Exists (const std::string &name) |
static bool | Exists (const string &name) |
static bool | GetContents (const std::string &name, std::string *output, bool) |
static bool | GetContents (const string &name, string *output, bool) |
static bool | GetContentsAsText (const std::string &name, std::string *output, bool) |
static bool | GetContentsAsText (const string &name, string *output, bool) |
static bool | ReadFileToString (const std::string &name, std::string *output, bool text_mode=false) |
static bool | ReadFileToString (const string &name, string *output, bool text_mode=false) |
static void | ReadFileToStringOrDie (const std::string &name, std::string *output) |
static void | ReadFileToStringOrDie (const string &name, string *output) |
static bool | RecursivelyCreateDir (const std::string &path, int mode) |
static bool | RecursivelyCreateDir (const string &path, int mode) |
static bool | SetContents (const std::string &name, const std::string &contents, bool) |
static bool | SetContents (const string &name, const string &contents, bool) |
static bool | WriteStringToFile (const std::string &contents, const std::string &name) |
static bool | WriteStringToFile (const string &contents, const string &name) |
static void | WriteStringToFileOrDie (const std::string &contents, const std::string &name) |
static void | WriteStringToFileOrDie (const string &contents, const string &name) |
Private Member Functions | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (File) | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (File) | |
Definition at line 46 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.h.
|
static |
Definition at line 210 of file protobuf/src/google/protobuf/testing/file.cc.
Definition at line 207 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
Definition at line 126 of file protobuf/src/google/protobuf/testing/file.cc.
Definition at line 123 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 149 of file protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 146 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
Definition at line 69 of file protobuf/src/google/protobuf/testing/file.cc.
Definition at line 69 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
|
inlinestatic |
Definition at line 85 of file protobuf/src/google/protobuf/testing/file.h.
|
inlinestatic |
Definition at line 83 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.h.
|
inlinestatic |
Definition at line 90 of file protobuf/src/google/protobuf/testing/file.h.
|
inlinestatic |
Definition at line 88 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.h.
|
private |
|
private |
|
static |
Definition at line 73 of file protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 73 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 90 of file protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 89 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
Definition at line 133 of file protobuf/src/google/protobuf/testing/file.cc.
Definition at line 130 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
|
inlinestatic |
Definition at line 95 of file protobuf/src/google/protobuf/testing/file.h.
|
inlinestatic |
Definition at line 93 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.h.
|
static |
Definition at line 94 of file protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 93 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 114 of file protobuf/src/google/protobuf/testing/file.cc.
|
static |
Definition at line 112 of file bloaty/third_party/protobuf/src/google/protobuf/testing/file.cc.