Crate fut
Source - create_duplicate_map
- A simple HashMap that store true or false to find duplicates.
- create_store_map
- The expected HashMap that fut exposes.
Reading from CSVs or textfiles can often have duplicates.
So here we ensure that we can store all duplicates.
- is_dup
- Checks the duplicated map passed in for duplicates.
- open_file_as_string
- Reads a file, and returns a String of the entire file.
- read_file_into_char_vec
- Reads a file, and returns a Vec-String- where each element is a character.
- read_file_into_line_vec
- Reads a file, and returns a Vec-String- where each element is a line.
- store_into_map
- Stores a new string in a HashMap where the values is a Vec-String- of all values.
- sub
- Simple find and replace util.
- write_file
- Writes a new file from a String.
Target is just an &str for where the file will be written.