Function spurs_util::get_partitions[][src]

pub fn get_partitions(
    shell: &impl Execute,
    device: &str,
    dry_run: bool
) -> Result<HashSet<String>, SshError>
Expand description

Returns a list of partitions of the given device. For example, ["sda1", "sda2"].