MCPcopy Create free account
hub / github.com/apache/kudu / WriteStringToFile

Function WriteStringToFile

src/kudu/util/env.cc:54–57  ·  view source on GitHub ↗

TODO: move these utils into env_util

Source from the content-addressed store, hash-verified

52
53// TODO: move these utils into env_util
54Status WriteStringToFile(Env* env, const Slice& data,
55 const std::string& fname) {
56 return DoWriteStringToFile(env, data, fname, false, false);
57}
58
59Status WriteStringToFileSync(Env* env, const Slice& data,
60 const std::string& fname) {

Callers 15

PrepareConfigFileMethod · 0.85
TEST_FFunction · 0.85
SetUpMethod · 0.85
CreateKdcConfMethod · 0.85
CreateKrb5ConfMethod · 0.85
CreateTestHTPasswdFunction · 0.85
DumpCompactionSVGToFileFunction · 0.85

Calls 1

DoWriteStringToFileFunction · 0.85

Tested by 15

PrepareConfigFileMethod · 0.68
TEST_FFunction · 0.68
SetUpMethod · 0.68
CreateKdcConfMethod · 0.68
CreateKrb5ConfMethod · 0.68
CreateTestHTPasswdFunction · 0.68
CreateConfMethod · 0.68