Skip to content

refactor: remove unused base parameter from copyFile#619

Open
leno23 wants to merge 1 commit into
spf13:masterfrom
leno23:fix/copyfile-unused-base-param
Open

refactor: remove unused base parameter from copyFile#619
leno23 wants to merge 1 commit into
spf13:masterfrom
leno23:fix/copyfile-unused-base-param

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 25, 2026

Summary

copyFile accepted a base Fs parameter that was never used inside the function. Callers already open the source file from base before delegating to copyFile.

Fixes #422

Test plan

  • go test ./...

The base filesystem is already used by callers to open the source file
before invoking copyFile; the parameter was never referenced inside the
helper.

Fixes spf13#422
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


wuyangfan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@leno23 leno23 force-pushed the fix/copyfile-unused-base-param branch from a21a643 to a05644d Compare May 26, 2026 04:41
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.

Unused parameter in copyFile function in unionFile

2 participants