Lines Matching refs:path
44 if os.path.exists(json_file):
58 ohos_config = os.path.join(root_path, "out", "ohos_config.json")
74 ohos_config = os.path.join(root_path, "out", "ohos_config.json")
132 def tree_find_file_endswith(path, suffix, file_list=None):
135 :param path: 需要遍历的目录
140 for f in os.listdir(path):
141 full_path = os.path.join(path, f)
142 if os.path.isfile(full_path) and full_path.endswith(suffix):
144 if os.path.isdir(full_path):
174 if not os.path.exists(filepath):