Function linux_disks

Source
fn linux_disks(lib_path: &str) -> Vec<HashMap<String, String>>
Expand description

Function to get disk information on Linux.

§Arguments

  • lib_path - The path to the library used to get disks’ information.

§Returns

A Vec of HashMap containing the disk information.