MCPcopy Create free account
hub / github.com/Kitware/CMake / __append_list

Function __append_list

Source/cmConvertMSBuildXMLToJSON.py:460–466  ·  view source on GitHub ↗

Appends the value to the list.

(append_to, value)

Source from the content-addressed store, hash-verified

458###########################################################################################
459# private list helpers
460def __append_list(append_to, value):
461 """Appends the value to the list."""
462 if value is not None:
463 if isinstance(value, list):
464 append_to.extend(value)
465 else:
466 append_to.append(value)
467
468###########################################################################################
469# main entry point

Callers 2

vsflagsFunction · 0.85
__convertFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…