Add parallel update checking and improve artifact update handling

This commit is contained in:
crazywhalecc
2026-03-05 11:11:31 +08:00
parent abdaaab6e6
commit 84f6dab882
5 changed files with 122 additions and 13 deletions

View File

@@ -282,6 +282,16 @@ class ArtifactCache
logger()->debug("Removed binary cache entry for [{$artifact_name}] on platform [{$platform}]");
}
/**
* Get the names of all artifacts that have at least one downloaded entry (source or binary).
*
* @return array<string> Artifact names
*/
public function getCachedArtifactNames(): array
{
return array_keys($this->cache);
}
/**
* Save cache to file.
*/