updated filepattern regexp
This commit is contained in:
parent
8e9b6e465e
commit
8aff3b10f1
2
src/cache/cache.go
vendored
2
src/cache/cache.go
vendored
@ -16,7 +16,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var filepattern = regexp.MustCompile(`((In)?Release(.gpg)?|Packages.gz)`)
|
var filepattern = regexp.MustCompile(`((In)?Release(.gpg)?|Packages.(gz|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.
|
||||||
|
Loading…
Reference in New Issue
Block a user