mirror of
https://github.com/h2non/filetype.git
synced 2025-12-24 11:52:08 +08:00
Fix typo in documentation
This commit is contained in:
committed by
GitHub
parent
3093b8ebec
commit
aa288c97a1
2
kind.go
2
kind.go
@@ -54,7 +54,7 @@ func Archive(buf []byte) (types.Type, error) {
|
||||
return doMatchMap(buf, matchers.Archive)
|
||||
}
|
||||
|
||||
// IsArchive checks if the given buffer is an audio type
|
||||
// IsArchive checks if the given buffer is an archive type
|
||||
func IsArchive(buf []byte) bool {
|
||||
kind, _ := Archive(buf)
|
||||
return kind != types.Unknown
|
||||
|
||||
Reference in New Issue
Block a user