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

Remove chmod and duplicated permissions functions #3782

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Sploder12
Copy link
Contributor

@Sploder12 Sploder12 commented Nov 18, 2024

This PR removes chmod from Platform.h as well as functions that are similar in file_ops.h. They have all been changed to use MP_PLATFORM.set_permissions. This should not change behavior on Unix systems. On Windows this changes the behavior to modify ACLs as well as DOS permissions instead of just DOS permissions.

MULTI-1420

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.93%. Comparing base (7074116) to head (a5015cd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3782      +/-   ##
==========================================
- Coverage   88.94%   88.93%   -0.01%     
==========================================
  Files         256      256              
  Lines       14584    14571      -13     
==========================================
- Hits        12972    12959      -13     
  Misses       1612     1612              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sploder12 Sploder12 marked this pull request as draft December 17, 2024 15:29
@Sploder12 Sploder12 force-pushed the fix-platform-specific-functions-in-abstraction branch from 6c58cd2 to a5015cd Compare December 17, 2024 20:13
@Sploder12 Sploder12 marked this pull request as ready for review December 17, 2024 20:39
@Sploder12 Sploder12 marked this pull request as draft December 20, 2024 22:00
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