Skip to content

Added renameat and renameat2 support#222

Merged
GlassOfWhiskey merged 2 commits intomasterfrom
renameat-handler
Apr 13, 2026
Merged

Added renameat and renameat2 support#222
GlassOfWhiskey merged 2 commits intomasterfrom
renameat-handler

Conversation

@marcoSanti
Copy link
Copy Markdown
Member

@marcoSanti marcoSanti commented Apr 11, 2026

This commit adds the renameat and renameat2 handlers for CAPIO posix component. it also fixes a bug in the chdir handler, in which the result value was not correctly initialized on success.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

❌ Patch coverage is 68.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.71%. Comparing base (723c7fc) to head (538d36c).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
capio/posix/handlers/rename.hpp 60.00% 2 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
- Coverage   63.71%   63.71%   -0.01%     
==========================================
  Files          77       77              
  Lines        3197     3208      +11     
  Branches     1991     1996       +5     
==========================================
+ Hits         2037     2044       +7     
- Misses        381      382       +1     
- Partials      779      782       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@GlassOfWhiskey GlassOfWhiskey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GlassOfWhiskey GlassOfWhiskey changed the title Added renameat and renameat2 handler support Added renameat and renameat2 support Apr 13, 2026
@GlassOfWhiskey GlassOfWhiskey merged commit f336af2 into master Apr 13, 2026
40 checks passed
@GlassOfWhiskey GlassOfWhiskey deleted the renameat-handler branch April 13, 2026 09:39
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