MCPcopy Create free account
hub / github.com/cztomczak/cefpython / is_ignored_path

Function is_ignored_path

tools/make_installer.py:297–308  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

295
296
297def is_ignored_path(path):
298 basename = os.path.basename(path)
299 if basename in IGNORE_DIRS:
300 print("[make_installer.py] Ignore: {dir}"
301 .format(dir=short_src_path(path)))
302 return True
303 for ext in IGNORE_EXT:
304 if path.endswith(ext):
305 print("[make_installer.py] Ignore: {file}"
306 .format(file=short_src_path(path)))
307 return True
308 return False
309
310
311def delete_files_by_pattern(pattern):

Callers 2

perform_copy_operationsFunction · 0.85
perform_copy_recursivelyFunction · 0.85

Calls 1

short_src_pathFunction · 0.85

Tested by

no test coverage detected