MCPcopy
hub / github.com/DingXiaoH/RepVGG / get_zipfile

Method get_zipfile

data/zipreader.py:24–29  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

22
23 @staticmethod
24 def get_zipfile(path):
25 zip_bank = ZipReader.zip_bank
26 if path not in zip_bank:
27 zfile = zipfile.ZipFile(path, 'r')
28 zip_bank[path] = zfile
29 return zip_bank[path]
30
31 @staticmethod
32 def split_zip_style_path(path):

Callers 4

list_folderMethod · 0.80
list_filesMethod · 0.80
readMethod · 0.80
imreadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected