Skip to content

Commit

Permalink
TarDownloader: enable skip_old_files option in tar extract
Browse files Browse the repository at this point in the history
Dpdk: chi comments
  • Loading branch information
mcgov committed Nov 19, 2024
1 parent 8b1ef44 commit 699f611
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions microsoft/testsuites/dpdk/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,13 @@ def download(self) -> PurePath:
self.asset_path = work_path.joinpath(tar_root_folder)
# unpack into the dest dir
# force name as tarfile name
# add option to skip files which already exist on disk
# in the event we have already extracted this specific tar
node.tools[Tar].extract(
file=str(remote_path),
dest_dir=str(work_path),
gzip=True,
skip_existing_files=True,
)
return self.asset_path

Expand Down

0 comments on commit 699f611

Please sign in to comment.