Skip to content

Conversation

@idi8-t-here
Copy link
Collaborator

@idi8-t-here idi8-t-here commented Feb 4, 2025

#121 -> Adding renameat(2) flags to the rename function

Description

Added the RENAME_EXCHANGE and RENAME_NOREPLACE flags and they're respective functions

Fixes # (issue)

Added the RENAME_EXCHANGE and RENAME_NOREPLACE flags and they're respective functions

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist:

  • I have performed a self-review of my code
  • I have tested my code on different platforms (if applicable)
  • I have commented my code, particularly in hard-to-understand areas
  • I have added necessary documentation (if appropriate)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Additional Context

i chose not to implement the RENAME_WHITEOUT flag, as the bat file says its only recommended for overlay/union filesystems

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