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