add new regex pattern
This commit is contained in:
parent
33b316e13c
commit
88504143be
2
src/cache/cache.go
vendored
2
src/cache/cache.go
vendored
@ -18,7 +18,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var filepattern = regexp.MustCompile(`((In)?Release(\.gpg)?|Packages\.(gz|bz2))`)
|
var filepattern = regexp.MustCompile(`((In)?Release(\.gpg)?|Packages\.(gz|bz2)|Contents-(arm64|armhf|amd64)(\.gz)?)`)
|
||||||
|
|
||||||
// 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user