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

Function short_src_path

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

Source from the content-addressed store, hash-verified

417
418
419def short_src_path(path):
420 # Very long: \build\cef55_3.2883.1553.g80bd606_win32\
421 find = os.path.basename(CEF_BINARIES_LIBRARIES)
422 if len(find) > 12:
423 path = path.replace(find, find[:12] + "*")
424 path = path.replace(ROOT_DIR, "")
425 return path
426
427
428def short_dst_path(path):

Callers 4

copy_template_fileFunction · 0.85
perform_copy_operationsFunction · 0.85
perform_copy_recursivelyFunction · 0.85
is_ignored_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected