Skip to content

Commit fa07354

Browse files
committed
Traverse potential symlinks for mtime
Handle getting mtime for symlinks by calling `metadata` on the dirent's path.
1 parent 72d5f84 commit fa07354

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nexus/src/app/background/tasks/support_bundle_collector.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,7 @@ fn recursively_add_directory_to_zipfile(
12441244
let src = entry.path();
12451245

12461246
let zip_time = entry
1247+
.path()
12471248
.metadata()
12481249
.and_then(|m| m.modified())
12491250
.ok()

0 commit comments

Comments
 (0)