Skip to content

Commit 3195805

Browse files
committed
Add back fix_symlink as a wrapper to let tests run.
1 parent b11fe46 commit 3195805

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

unblob/extractor.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ def is_recursive_link(path: Path) -> bool:
4747
return False
4848

4949

50+
def fix_symlink(path: Path, outdir: Path, task_result: TaskResult) -> Path:
51+
# This is a temporary function for existing unit tests in tests/test_extractor.py
52+
fix_extracted_directory(outdir, task_result)
53+
return path
54+
55+
5056
def sanitize_symlink_target(base_dir, current_dir, target):
5157
# Normalize all paths to their absolute forms
5258
base_dir_abs = os.path.abspath(base_dir)

0 commit comments

Comments
 (0)