Skip to content

Commit

Permalink
Added another end period
Browse files Browse the repository at this point in the history
  • Loading branch information
taiypeo committed Nov 27, 2019
1 parent e7927e0 commit 2236a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/matchers/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ func Warc(in []byte) bool {
// Zstd matches a Zstandard archive file.
func Zstd(in []byte) bool {
return len(in) >= 4 &&
(0x22 <= in[0] && in[0] <= 0x28 || in[0] == 0x1E) && // Different Zstandard versions
(0x22 <= in[0] && in[0] <= 0x28 || in[0] == 0x1E) && // Different Zstandard versions.
bytes.HasPrefix(in[1:], []byte{0xB5, 0x2F, 0xFD})
}

0 comments on commit 2236a0a

Please sign in to comment.