Returns true if partition with 'name' already exists.
| 69 | |
| 70 | /// Returns true if partition with 'name' already exists. |
| 71 | bool PartitionExists(const std::string& name) { |
| 72 | return per_partition_status_.find(name) != per_partition_status_.end(); |
| 73 | } |
| 74 | |
| 75 | /// Merge given values into stats for partition with name 'partition_name'. |
| 76 | /// Ignores 'insert_stats' if nullptr. |
no test coverage detected