| 64 | RemoteSource::~RemoteSource() = default; |
| 65 | |
| 66 | void RemoteSource::setStorageLimits(const std::shared_ptr<const StorageLimitsList> & storage_limits_) |
| 67 | { |
| 68 | /// Remove leaf limits for remote source. |
| 69 | StorageLimitsList list; |
| 70 | for (const auto & value : *storage_limits_) |
| 71 | list.emplace_back(StorageLimits{value.local_limits, {}}); |
| 72 | |
| 73 | storage_limits = std::make_shared<const StorageLimitsList>(std::move(list)); |
| 74 | } |
| 75 | |
| 76 | ISource::Status RemoteSource::prepare() |
| 77 | { |
no test coverage detected