MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / check

Function check

tools/link.py:2856–2862  ·  view source on GitHub ↗
(input_file)

Source from the content-addressed store, hash-verified

2854 seen = set()
2855
2856 def check(input_file):
2857 if get_file_suffix(input_file) in DYLIB_EXTENSIONS and not building.is_wasm_dylib(input_file):
2858 abspath = os.path.abspath(input_file)
2859 if abspath in seen:
2860 return False
2861 seen.add(abspath)
2862 return True
2863
2864 return [f for f in inputs if check(f)]
2865

Calls 2

get_file_suffixFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected