1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:18:13 +00:00

Meta: Remove extract_tar_path() function

It's identical to extract_path() after #23000.

No behavior change.
This commit is contained in:
Nico Weber 2024-01-29 20:41:38 -05:00 committed by Tim Flynn
parent 125d92fe85
commit ffcd5cf443
3 changed files with 2 additions and 8 deletions

View file

@ -261,9 +261,3 @@ function(extract_path dest_dir zip_path source_path dest_path)
file(ARCHIVE_EXTRACT INPUT "${zip_path}" DESTINATION "${dest_dir}" PATTERNS "${source_path}")
endif()
endfunction()
function(extract_tar_path dest_dir tar_path source_path dest_path)
if (EXISTS "${tar_path}" AND NOT EXISTS "${dest_path}")
file(ARCHIVE_EXTRACT INPUT "${tar_path}" DESTINATION "${dest_dir}" PATTERNS "${source_path}")
endif()
endfunction()