tisonkun commented on code in PR #6650:
URL: https://github.com/apache/opendal/pull/6650#discussion_r2423721593


##########
bindings/c/src/metadata.rs:
##########
@@ -131,7 +131,9 @@ impl opendal_metadata {
         let mtime = self.deref().last_modified();
         match mtime {
             None => -1,
-            Some(time) => time.as_millisecond(),
+            Some(time) => {
+                time.as_second() * 1000 + (time.subsec_nanosecond() / 
1_000_000) as i64
+            }

Review Comment:
   This seems like something vibe coding produced.
   
   Please try to review your code to make it more concise for human review. 
Otherwise I don't think it's valuable for requesting for review.



-- 
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