Module utils

Source
Expand description

Defines utilities for this crate.

Functionsยง

copy_dir
Recursively copies all files from one directory into another.
deserialize_and_sanitize
Custom deserialization method to deserialize and sanitize a string.
get_file_extension
Returns the file extension of a path.
get_file_stem
Returns the file stem of a path.
get_filename
Returns the filename of a path.
serialize_hashmap_to_vec
Custom serialization method to convert a HashMap<K, V> to Vec<V>.