refactor all file serve logic into internal/cache

This commit is contained in:
2026-05-01 23:44:37 -06:00
parent 6a6006483f
commit 58b5ab55ba
7 changed files with 208 additions and 120 deletions
+5 -3
View File
@@ -1,7 +1,9 @@
cache_root = "/home/ewpt3ch/dev/pacman-cache-server/tmprepo"
mirror_urls = ["https://us.mirrors.cicku.me/archlinux/",
cache_root = "/home/ewpt3ch/dev/pkgstash/tmprepo"
mirror_urls = [
"https://losangeles.mirror.pkgbuild.com/",
"https://mirror.givebytes.net/archlinux/"]
"https://mirror.givebytes.net/archlinux/",
"https://arch.mirror.constant.com/",
]
# array of upstream repos this server caches see pacman.conf
# or pacman docs for more info <core, extra, multilib>
mirrored_repos = ["core", "extra"]