MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / is_exists

Function is_exists

bsp/w60x/makeimg.py:52–57  ·  view source on GitHub ↗
(name, path)

Source from the content-addressed store, hash-verified

50 return res
51
52def is_exists(name, path):
53 res = True
54 if not os.path.exists(path):
55 print('makeimg err! No ' + name + ' file found: ' + path)
56 res = False
57 return res
58
59def get_exec_path(path):
60 (file_path, file_name) = os.path.split(path)

Callers 1

makeimg.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected