]> source.dussan.org Git - gitea.git/commit
Test if container blob is accessible before mounting (#22759) (#25783)
authorGiteabot <teabot@gitea.io>
Sun, 9 Jul 2023 13:00:59 +0000 (09:00 -0400)
committerGitHub <noreply@github.com>
Sun, 9 Jul 2023 13:00:59 +0000 (09:00 -0400)
commit5bfe469821ff42b490a7a08a7eec4b05226e7b29
tree4dae1b75679514f34031bc1847e71c0b1f740dbe
parent53276d3e4954cb0ea853d6441f08f96b11c0487c
Test if container blob is accessible before mounting (#22759) (#25783)

Backport #22759 by @KN4CK3R

related #16865

This PR adds an accessibility check before mounting container blobs.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
models/packages/package_blob.go
routers/api/packages/container/container.go
tests/integration/api_packages_container_test.go