Function ucd_parse::ucd_directory_version
source · pub fn ucd_directory_version<D: ?Sized + AsRef<Path>>(
ucd_dir: &D
) -> Result<(u64, u64, u64), Error>
Expand description
Given a path pointing at the root of the ucd_dir
, attempts to determine
it’s unicode version.
This just checks the readme and the very first line of PropList.txt – in practice this works for all versions of UCD since 4.1.0.