Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.1.0] Avoid exception-based control flow in RemoteActionFileSystem#stat. #21236

Merged
merged 1 commit into from
Feb 7, 2024

Commits on Feb 7, 2024

  1. [7.1.0] Avoid exception-based control flow in RemoteActionFileSystem#…

    …stat.
    
    When statting a file in the local filesystem, we first call InMemoryFileSystem#stat, which unnecessarily allocates and throws a FileNotFoundException. Instead, call InMemoryFileSystem#statIfFound, which doesn't.
    
    PiperOrigin-RevId: 604253151
    Change-Id: Iabb9573f710e657a9ea893f1f7577a6b4bb147d2
    tjgq committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c0481d6 View commit details
    Browse the repository at this point in the history