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

Function to_utf8

configure.py:1295–1296  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1293 return 1 if value else 0
1294
1295def to_utf8(s):
1296 return s if isinstance(s, str) else s.decode("utf-8")
1297
1298def pkg_config(pkg):
1299 """Run pkg-config on the specified package

Callers 9

pkg_configFunction · 0.85
try_check_compilerFunction · 0.85
get_version_helperFunction · 0.85
get_nasm_versionFunction · 0.85
get_gas_versionFunction · 0.85
get_openssl_versionFunction · 0.85
get_cargo_versionFunction · 0.85
get_rustc_versionFunction · 0.85
cc_macrosFunction · 0.85

Calls 1

decodeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…