MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / zip_entry_kind

Function zip_entry_kind

scripts/ci/verify-release-selection.py:325–329  ·  view source on GitHub ↗
(info: zipfile.ZipInfo)

Source from the content-addressed store, hash-verified

323
324
325def zip_entry_kind(info: zipfile.ZipInfo) -> str:
326 mode = (info.external_attr >> 16) & 0xFFFF
327 if mode and stat.S_IFMT(mode) not in (0, stat.S_IFREG, stat.S_IFDIR):
328 return "special"
329 return "directory" if info.is_dir() else "regular"
330
331
332def verify_zip(

Callers 1

verify_zipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected