RHEL8's lsblk doesn't have PATH, so we do it
(&self)
| 118 | impl Device { |
| 119 | // RHEL8's lsblk doesn't have PATH, so we do it |
| 120 | pub fn path(&self) -> String { |
| 121 | self.path.clone().unwrap_or(format!("/dev/{}", &self.name)) |
| 122 | } |
| 123 | |
| 124 | /// Alias for path() for compatibility |
| 125 | #[allow(dead_code)] |
no outgoing calls