MCPcopy Create free account
hub / github.com/ElementsProject/elements / WriteStringToFileSync

Function WriteStringToFileSync

src/leveldb/util/env.cc:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60Status WriteStringToFileSync(Env* env, const Slice& data,
61 const std::string& fname) {
62 return DoWriteStringToFile(env, data, fname, true);
63}
64
65Status ReadFileToString(Env* env, const std::string& fname, std::string* data) {
66 data->clear();

Callers 1

SetCurrentFileFunction · 0.85

Calls 1

DoWriteStringToFileFunction · 0.85

Tested by

no test coverage detected