MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / is_zipfile

Function is_zipfile

Lib/zipfile.py:142–156  ·  view source on GitHub ↗

Quickly see if a file is a ZIP file by checking the magic number. The filename argument may be a file or file-like object too.

(filename)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_check_zipfileFunction · 0.85
openFunction · 0.70

Tested by

no test coverage detected