| 738 | } |
| 739 | |
| 740 | Result<std::shared_ptr<io::OutputStream>> MockFileSystem::OpenAppendStream( |
| 741 | const std::string& path, const std::shared_ptr<const KeyValueMetadata>& metadata) { |
| 742 | ARROW_RETURN_NOT_OK(internal::AssertNoTrailingSlash(path)); |
| 743 | RETURN_NOT_OK(ValidatePath(path)); |
| 744 | auto guard = impl_->lock_guard(); |
| 745 | |
| 746 | return impl_->OpenOutputStream(path, /*append=*/true, metadata); |
| 747 | } |
| 748 | |
| 749 | std::vector<MockDirInfo> MockFileSystem::AllDirs() { |
| 750 | auto guard = impl_->lock_guard(); |
nothing calls this directly
no test coverage detected