MCPcopy Create free account
hub / github.com/InternScience/SciReason / _is_zip

Function _is_zip

opencompass/utils/fileio.py:476–477  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

474
475
476def _is_zip(filename):
477 return filename.endswith('.zip')
478
479
480def extract_archive(from_path, to_path=None, remove_finished=False):

Callers 1

extract_archiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected