mirror of
https://github.com/git-pkgs/proxy.git
synced 2026-09-16 07:42:05 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* Use shared artifacts at cache boundaries * Address artifact cache review * Defer cached artifact validation to checkCache Construct artifacts.Artifact from the row without validation so a malformed content hash reaches newIntegrityChecks in checkCache, which clears the row and treats the request as a miss. Erroring at the DB boundary instead surfaced a 500 and left the bad row in place. * Build stored Artifact after digest and scan checks Construct the shared artifact struct from trusted storage output as a literal, after the hash-mismatch and scanner paths that delete failed downloads, so no path between Store and updateCacheDB can leave bytes in storage without a database row. |
||
| .. | ||
| database.go | ||
| database_test.go | ||
| metadata_cache_test.go | ||
| queries.go | ||
| queries_packages_list_test.go | ||
| schema.go | ||
| types.go | ||
| version_purl_test.go | ||