| 730 | } |
| 731 | |
| 732 | Result<std::shared_ptr<io::OutputStream>> MockFileSystem::OpenOutputStream( |
| 733 | const std::string& path, const std::shared_ptr<const KeyValueMetadata>& metadata) { |
| 734 | RETURN_NOT_OK(ValidatePath(path)); |
| 735 | auto guard = impl_->lock_guard(); |
| 736 | |
| 737 | return impl_->OpenOutputStream(path, /*append=*/false, metadata); |
| 738 | } |
| 739 | |
| 740 | Result<std::shared_ptr<io::OutputStream>> MockFileSystem::OpenAppendStream( |
| 741 | const std::string& path, const std::shared_ptr<const KeyValueMetadata>& metadata) { |
no test coverage detected