Skip to content

Cfapi: Fix attributes of newly created folder - #1135

Merged
TheOneRing merged 2 commits into
mainfrom
work/no_throw
Sep 29, 2026
Merged

TheOneRing merged 2 commits into
mainfrom
work/no_throw

Conversation

@TheOneRing

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Directory-detection failures are ignored, allowing placeholders to be created with incorrect file metadata.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Prevents is_directory failures from throwing during CFAPI placeholder creation.

Changes:

  • Uses the non-throwing filesystem overload.
  • Logs directory-detection errors.
File Description
src/​plugins/​vfs/​cfapi/​cfapiwrapper.cpp Handles filesystem errors during placeholder type detection.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/plugins/vfs/cfapi/cfapiwrapper.cpp Resolved
@TheOneRing TheOneRing changed the title Handle is_dir error Cfapi: Fix attributes of newly created folder Sep 29, 2026
@TheOneRing
TheOneRing merged commit 9bf87d5 into main Sep 29, 2026
13 of 15 checks passed
@TheOneRing
TheOneRing deleted the work/no_throw branch September 29, 2026 14:43
@openclouders openclouders mentioned this pull request Nov 13, 2026
1 task
@saw-jan saw-jan mentioned this pull request Nov 25, 2026
9 of 22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants