archive/compression: update out of date RFC draft link
Signed-off-by: William Chen <willchen.005@gmail.com>
This commit is contained in:
parent
165f8e414e
commit
189a1599c0
@ -146,7 +146,7 @@ func magicNumberMatcher(m []byte) matcher {
|
||||
|
||||
// zstdMatcher detects zstd compression algorithm.
|
||||
// There are two frame formats defined by Zstandard: Zstandard frames and Skippable frames.
|
||||
// See https://tools.ietf.org/id/draft-kucherawy-dispatch-zstd-00.html#rfc.section.2 for more details.
|
||||
// See https://datatracker.ietf.org/doc/html/rfc8878#section-3 for more details.
|
||||
func zstdMatcher() matcher {
|
||||
return func(source []byte) bool {
|
||||
if bytes.HasPrefix(source, zstdMagic) {
|
||||
|
Loading…
Reference in New Issue
Block a user