Module utils

Module utils 

Source

Functionsยง

safe_create_file
Safely creates a file for writing
safe_file_path
Ensures a file path is safe to use (not a symlink or hard link unless allowed)
safe_open_file
Safely opens a file for reading
safe_open_options
Safely opens a file with custom options