提交 f3ea00bc 编写于 作者: I Igor Canadi

Merge pull request #856 from ceph/wip-env

EnvWrapper: add ReuseWritableFile
......@@ -768,6 +768,12 @@ class EnvWrapper : public Env {
const EnvOptions& options) override {
return target_->NewWritableFile(f, r, options);
}
Status ReuseWritableFile(const std::string& fname,
const std::string& old_fname,
unique_ptr<WritableFile>* r,
const EnvOptions& options) {
return target_->ReuseWritableFile(fname, old_fname, r, options);
}
virtual Status NewDirectory(const std::string& name,
unique_ptr<Directory>* result) override {
return target_->NewDirectory(name, result);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册