Skip to content

fix(files_external): Safely check if the timestamp is numeric - #52686

Merged
artonge merged 1 commit into
masterfrom
isNumericMtime
May 12, 2025
Merged

fix(files_external): Safely check if the timestamp is numeric#52686
artonge merged 1 commit into
masterfrom
isNumericMtime

Conversation

@solracsf

@solracsfsolracsf commented May 8, 2025

Copy link
Copy Markdown
Member

Summary

  • Reduces variable assignments by directly incorporating logic into the return statement
  • Safely check if the timestamp is numeric, avoiding potential issues with invalid data

Checklist

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf
solracsf marked this pull request as ready for review May 8, 2025 10:12
@solracsf
solracsf requested a review from a team as a code ownerMay 8, 2025 10:12
@solracsf
solracsf requested review from artonge, nfebe and skjnldsv and removed request for a teamMay 8, 2025 10:12

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks sane!

@artonge
artonge merged commit a2eed98 into masterMay 12, 2025
@artonge
artonge deleted the isNumericMtime branch May 12, 2025 11:21
@solracsf

Copy link
Copy Markdown
MemberAuthor

/backport to stable31

@solracsf

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Fail to scan or access files in Swift external storage

3 participants

@solracsf@artonge@skjnldsv