Skip to content

Add .download marker file for cache validation#688

Open
jdumas wants to merge 1 commit intocpm-cmake:masterfrom
jdumas:feature/download-marker
Open

Add .download marker file for cache validation#688
jdumas wants to merge 1 commit intocpm-cmake:masterfrom
jdumas:feature/download-marker

Conversation

@jdumas
Copy link

@jdumas jdumas commented Feb 28, 2026

Trying to separate #559 in two separate PRs. The first one is pretty simple and simply adds a .download marker to check that a folder is downloaded.

Disclaimer: I had Claude separate #559 in two separate commits. This PR is only for the first part (the .download marker).

Add a marker .download file to validate the contents in cache directories.
Previously only the existence of the directory was used, so if the download
was aborted the cache directory had to be deleted manually if this occurred
(with a likely cryptic error message).

If the .download check file does not exist, the directory will be deleted
and downloaded again.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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