This commit is contained in:
6543 2021-12-15 06:34:04 +01:00
parent 0bc0a149d0
commit ad64b19dc3

View file

@ -12,6 +12,10 @@ import (
const giteaAPIRepos = "/api/v1/repos/"
// TODOs:
// * own client to store token & giteaRoot
// * handle 404 -> page will show 500 atm
func giteaRawContent(targetOwner, targetRepo, ref, giteaRoot, giteaAPIToken, resource string) ([]byte, error) {
req := fasthttp.AcquireRequest()