MCPcopy Index your code
hub / github.com/nodejs/node / get_v8_config

Function get_v8_config

tools/generate_config_gypi.py:39–45  ·  view source on GitHub ↗
(out_dir, node_gn_path)

Source from the content-addressed store, hash-verified

37 return config
38
39def get_v8_config(out_dir, node_gn_path):
40 with open(os.path.join(out_dir, 'v8_features.json')) as f:
41 v8_config = json.load(f)
42 for key, value in v8_config.items():
43 if isinstance(value, bool):
44 v8_config[key] = bool_to_number(value)
45 return v8_config
46
47def translate_config(out_dir, config, v8_config):
48 config_gypi = {

Callers 1

mainFunction · 0.85

Calls 5

bool_to_numberFunction · 0.85
openFunction · 0.50
joinMethod · 0.45
loadMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…