[][src]Function cryptsetup_rs::api::luks_version

pub fn luks_version<P: AsRef<Path>>(path: P) -> Result<u16>

Read the LUKS version used by a LUKS container without opening the device