Skip to main content

migrate_v2_to_v3

Function migrate_v2_to_v3 

Source
pub fn migrate_v2_to_v3<P, Q>(
    v2_path: P,
    v3_path: Q,
) -> Result<usize, DictError>
where P: AsRef<Path>, Q: AsRef<Path>,
Expand description

Migrate an entries.bin file from v2 (MKE2) format to v3 (MKE3).

Reads all entries from the v2 file, then writes them in v3 format.

ยงErrors

Returns an error if the source cannot be read or the destination cannot be written.