Skip to content

Flip File.identical? logic to try native first#8101

Merged
headius merged 1 commit intojruby:masterfrom
headius:file_identity_use_stat
Feb 13, 2024
Merged

Flip File.identical? logic to try native first#8101
headius merged 1 commit intojruby:masterfrom
headius:file_identity_use_stat

Conversation

@headius
Copy link
Member

@headius headius commented Feb 13, 2024

This uses more compatible native stat logic for comparing two files, only falling back on NIO options if native logic cannot be used.

Fixes #7151

This uses more compatible native stat logic for comparing two
files, only falling back on NIO options if native logic cannot be
used.

Fixes jruby#7151
@headius headius added this to the JRuby 9.4.6.0 milestone Feb 13, 2024
@headius headius merged commit aafbe40 into jruby:master Feb 13, 2024
@headius headius deleted the file_identity_use_stat branch February 13, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File.identical? should use stat to compare files

1 participant