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

Add is_read_only flag for disks #1348

Merged
merged 4 commits into from
Sep 12, 2024

Conversation

kevinbaker
Copy link
Contributor

Add is_read_only flag on Disks, which shows whether the volume is read only. Tested under Linux, with implementations for all other platforms (other platforms not tested.)

  • Implement is_read_only flag for disks on macOS, FreeBSD, Linux, and Windows
  • Add is_read_only() method to the common Disk struct
  • Update documentation for the new is_read_only() method
  • Ensure consistent implementation across all supported platforms

This PR was written with the assistance of aider.

- Implement is_read_only flag for disks on macOS, FreeBSD, Linux, and Windows
- Add is_read_only() method to the common Disk struct
- Update documentation for the new is_read_only() method
- Ensure consistent implementation across all supported platforms

This PR was written with the assistance of aider.
@GuillaumeGomez
Copy link
Owner

This is super cool, thanks!

@GuillaumeGomez GuillaumeGomez merged commit 6f1d382 into GuillaumeGomez:master Sep 12, 2024
67 checks passed
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.

2 participants