MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / check_file

Method check_file

utils/utils.py:14–18  ·  view source on GitHub ↗
(file_name:str)

Source from the content-addressed store, hash-verified

12
13 @staticmethod
14 def check_file(file_name:str)->bool:
15 if not os.path.exists(file_name) or not os.path.isfile(file_name):
16 return False
17
18 return True
19
20 @staticmethod
21 def search_text_array(text:str,list:list[str]):

Callers 2

save_settingsMethod · 0.80
load_settingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected