Expand description
ยงCourt document package anonymiser library
This library contains common code shared between the anonymiser script and the lambda.
Structsยง
- Opt
- A struct representing the input arguments
Functionsยง
- create_
docx_ ๐with_ checksum - Creates a docx and returns a checksum
- decompress_
file ๐ - Untar and unzip the input tar.gz file
- files_
in_ input_ dir - List files in input directory
- if_
present_ ๐delete - Helper function to delete a file if present
- is_file ๐
- Helper function to check if the entry is a file
- is_
not_ ๐hidden - Helper function to check if a file does not start with
.
- parse_
metadata_ ๐json - Read the metadata.json file and parse it into a serde
Value
- process_
package - Package processor
- tar_
folder ๐ - Tars and Gzips the specified folder
- update_
json_ ๐file - Anonymise the contact fields and update the checksum