Compare commits

...

1 Commits

Author SHA1 Message Date
cf1fc0a32b updated filepattern regex
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
2024-02-11 12:39:20 +01:00

2
src/cache/cache.go vendored
View File

@ -18,7 +18,7 @@ import (
"time" "time"
) )
var filepattern = regexp.MustCompile(`((In)?Release(\.gpg)?|Packages\.(gz|bz2)|Contents-(arm64|armhf|amd64)(\.gz)|Sources.bz2?)`) var filepattern = regexp.MustCompile(`((In)?Release(\.gpg)?|Packages(\.gz|\.bz2)?|Contents-(arm64|armhf|amd64)(\.gz)|Sources.bz2?)`)
// Reader is a generic interface for reading cache entries either from disk or // Reader is a generic interface for reading cache entries either from disk or
// directly attached to a downloader. // directly attached to a downloader.