| 61 | } |
| 62 | |
| 63 | Partition findPartition(const String& name) |
| 64 | { |
| 65 | for(auto& dev : getDevices()) { |
| 66 | auto part = dev.partitions().find(name); |
| 67 | if(part) { |
| 68 | return part; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | return Partition{}; |
| 73 | } |
| 74 | |
| 75 | } // namespace Storage |
no test coverage detected