MCPcopy 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
472def _is_gzip(filename):
473 return filename.endswith('.gz') and not filename.endswith('.tar.gz')
474
475
476def _is_zip(filename):

Callers 1

extract_archiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected