Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternScience/SciReason
/ _is_gzip
Function
_is_gzip
opencompass/utils/fileio.py:472–473 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
470
471
472
def
_is_gzip(filename):
473
return
filename.endswith(
'.gz'
) and not filename.endswith(
'.tar.gz'
)
474
475
476
def
_is_zip(filename):
Callers
1
extract_archive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected