We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CopyRequest does not use atomic write, which may result in empty or corrupted zip filed in Composer cache directory.
CopyRequest should write the file to "$destination.tmp" and then rename("$destination.tmp", $destination) after the downloads succeeds.
"$destination.tmp"
rename("$destination.tmp", $destination)
You can find the corrupted files with
find ./files/ -type f -name '*.zip' -not -exec zip --quiet --test {} \;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CopyRequest does not use atomic write, which may result in empty or corrupted zip filed in Composer cache directory.
CopyRequest should write the file to
"$destination.tmp"
and thenrename("$destination.tmp", $destination)
after the downloads succeeds.You can find the corrupted files with
The text was updated successfully, but these errors were encountered: