pyiron_base.utils.safetar

pyiron_base.utils.safetar#

Functions

is_within_directory(directory, target)

Check if the target path is within the specified directory.

safe_extract(tar[, path, members, numeric_owner])

Safely extract the contents of a tar file.