Skip to content

Remove ResourceUtils.CopyFolder and update comments#702

Merged
chrisgregan merged 1 commit into
mainfrom
remove-copy-folder
May 29, 2026
Merged

Remove ResourceUtils.CopyFolder and update comments#702
chrisgregan merged 1 commit into
mainfrom
remove-copy-folder

Conversation

@chrisgregan
Copy link
Copy Markdown
Contributor

Remove the public ResourceUtils.CopyFolder method to avoid duplication with the FS-layer implementation. Add a clarifying comment in SidecarHelper.Inspect explaining why the file is read directly (synchronous classification path and transient read failures are benign). Reword the comment on FileStorage.CopyFolderRecursive to clarify that it's an internal recursive copy used by the chokepoint so the FS layer controls the destination structure.

Remove the public ResourceUtils.CopyFolder method to avoid duplication with the FS-layer implementation. Add a clarifying comment in SidecarHelper.Inspect explaining why the file is read directly (synchronous classification path and transient read failures are benign). Reword the comment on FileStorage.CopyFolderRecursive to clarify that it's an internal recursive copy used by the chokepoint so the FS layer controls the destination structure.
@chrisgregan chrisgregan merged commit cb45e9f into main May 29, 2026
7 checks passed
@chrisgregan chrisgregan deleted the remove-copy-folder branch May 29, 2026 17:17
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