python/ray/tune/utils/file_transfer.py
def _unpack_dir(stream: io.BytesIO, target_dir: str) -> None:
    """Unpack tarfile stream into target directory."""
    stream.seek(0)
    with tarfile.open(fileobj=stream) as tar:
        tar.extractall(target_dir)
Unpack tarfile stream into target directory.
Unpack tarfile stream into target directory.
Unpack tarfile stream into target directory .
def _unpack_dir(stream: io.BytesIO, target_dir: str) -> None:
    stream.seek(0)
    with tarfile.open(fileobj=stream) as tar:
        tar.extractall(target_dir)
def _unpack_dir ( stream : io . BytesIO , target_dir : str ) -> None : stream . seek ( 0 ) with tarfile . open ( fileobj = stream ) as tar : tar . extractall ( target_dir )
Unpack tarfile stream into target directory.
Unpack tarfile stream into target directory .
"""Unpack tarfile stream into target directory."""
stream
io.BytesIO
target_dir
str