INNER CODE UNIT · Python
target
uxlfoundation/oneDAL · dev/release_tests/compare_release_trees.py:393
target = (bazel_root / path).resolve()
# A symlink escaping the release tree is a staging bug, not a transport
# artefact, so leave it in level 1 to be reported there.
if not target.is_relative_to(bazel_root) or not target.is_file():
continue
target_path = rel(target, bazel_root)
make_files.discard(path)
del bazel_links[path]
absorbed += 1
make_target = make_root / target_path
if not make_target.is_file():
missing_targets.append((path, target_path))
elif not filecmp.cmp(make_root / path, make_target, shallow=False):
mismatches.append((path, target_path))
else:
reconciled.append((path, target_path))
if missing_targets: