Skip to content
New issue

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

fetch: prevent global cache from being copied #19951

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jan200101
Copy link
Contributor

in some situations (e.g. when building a distro package) there may not be a suitable global cache, so its set relative to the project directory.

This causes zig fetch to copy the global cache resulting in both an incorrect hash and a cache that duplicates in size every time fetch is ran.

This PR adds logic to the recursiveDirectoryCopy function to ignore the cache.

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.

None yet

1 participant