Rename render-revision-package to render-revision-package-version

As this name is more specific.
This commit is contained in:
Christopher Baines 2019-10-03 20:15:56 +01:00
parent 427063c812
commit a40a8f0f92

View file

@ -278,7 +278,7 @@
#:header-link header-link)
#:extra-headers http-headers-for-unchanging-content))))))
(define* (render-revision-package mime-types
(define* (render-revision-package-version mime-types
conn
commit-hash
name
@ -813,7 +813,7 @@
commit-hash)))
(('GET "revision" commit-hash "package" name version)
(if (guix-commit-exists? conn commit-hash)
(render-revision-package mime-types
(render-revision-package-version mime-types
conn
commit-hash
name
@ -1001,7 +1001,7 @@
(let ((commit-hash
(latest-processed-commit-for-branch conn repository-id branch-name)))
(if commit-hash
(render-revision-package mime-types
(render-revision-package-version mime-types
conn
commit-hash
name