MCPcopy
hub / github.com/astral-sh/python-build-standalone / extract_tar_to_directory

Function extract_tar_to_directory

pythonbuild/utils.py:391–393  ·  view source on GitHub ↗
(source: pathlib.Path, dest: pathlib.Path)

Source from the content-addressed store, hash-verified

389
390
391def extract_tar_to_directory(source: pathlib.Path, dest: pathlib.Path):
392 with tarfile.open(source, "r") as tf:
393 tf.extractall(dest)
394
395
396def extract_zip_to_directory(source: pathlib.Path, dest: pathlib.Path):

Callers 5

build_openssl_for_archFunction · 0.90
build_libffiFunction · 0.90
build_cpythonFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected