Skip to content

MES-860: Support renaming files#51

Merged
markovejnovic merged 9 commits intomainfrom
marko/mes-860-support-renaming-files
Feb 28, 2026
Merged

MES-860: Support renaming files#51
markovejnovic merged 9 commits intomainfrom
marko/mes-860-support-renaming-files

Conversation

@markovejnovic
Copy link
Collaborator

No description provided.

Add rename method to FsDataProvider with default EROFS, implement it
on MockFsDataProvider with call tracking, and create 8 rename test
cases. Tests won't compile until AsyncFs::rename is implemented.
- Return EINVAL for RENAME_EXCHANGE, RENAME_WHITEOUT, RENAME_NOREPLACE
  flags since only plain rename is supported.
- Add early return for no-op renames where old and new paths are identical.
@markovejnovic markovejnovic force-pushed the marko/mes-860-support-renaming-files branch from 0f234a7 to 88f8a32 Compare February 28, 2026 00:18
@markovejnovic markovejnovic merged commit ba61a09 into main Feb 28, 2026
6 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.

1 participant