nanonyme commented on code in PR #1881:
URL: https://github.com/apache/buildstream/pull/1881#discussion_r1413109972


##########
src/buildstream/utils.py:
##########
@@ -367,6 +367,15 @@ def safe_copy(src: str, dest: str, *, copystat: bool = 
True, result: Optional[Fi
                 result.failed_attributes.append(dest)
 
 
+def _same_file(src: str, dest: str):
+    src_stat = os.stat(src)
+    dest_stat = os.stat(dest)
+    if not src_stat.st_ino or not dest_stat:

Review Comment:
   There is a bug here but I'm letting current pipeline finish. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to