Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
476
def
_is_zip(filename):
477
return
filename.endswith(
'.zip'
)
478
479
480
def
extract_archive(from_path, to_path=None, remove_finished=False):
Callers
1
extract_archive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected