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

Clean up Read() in file_system: #24520

Merged
merged 1 commit into from
Apr 3, 2025
Merged

Clean up Read() in file_system: #24520

merged 1 commit into from
Apr 3, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Apr 2, 2025

Clean up Read() in file_system:

  • Add a default implementation of the deprecated Read() in the base class to enable subclasses to migrate to implementing the new, safe Read().
  • Use ABSL_DEPRECATE_AND_INLINE() to enable bots to fix existing call sites.
  • Remove the redundant size parameter from the new Read() as it can be inferred from the Span parameter.

- Add a default implementation of the deprecated `Read()` in the base class to enable subclasses to migrate to implementing the new, safe `Read()`.
- Use `ABSL_DEPRECATE_AND_INLINE()` to enable bots to fix existing call sites.
- Remove the redundant size parameter from the new `Read()` as it can be inferred from the `Span` parameter.

PiperOrigin-RevId: 743703411
@copybara-service copybara-service bot merged commit b670576 into main Apr 3, 2025
@copybara-service copybara-service bot deleted the test_743164950 branch April 3, 2025 21:47
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.

1 participant