MCPcopy
hub / github.com/tonquer/JMComic-qt / IsHaveFile

Method IsHaveFile

src/tools/tool.py:305–312  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

303
304 @staticmethod
305 def IsHaveFile(filePath):
306 try:
307 if os.path.isfile(filePath):
308 return True
309 return False
310 except Exception as es:
311 Log.Error(es)
312 return False
313
314 @staticmethod
315 def DiffDays(d1, d2):

Callers 2

RunMethod · 0.80
HandlerDownloadMethod · 0.80

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected