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

Function glob_in_path

tools/system_libs.py:54–57  ·  view source on GitHub ↗
(path: str, glob_pattern: str, excludes: set[str] = set())

Source from the content-addressed store, hash-verified

52
53
54def glob_in_path(path: str, glob_pattern: str, excludes: set[str] = set()): # noqa: B006
55 srcdir = utils.path_from_root(path)
56 files = iglob(os.path.join(srcdir, glob_pattern), recursive=True)
57 return sorted(f for f in files if os.path.basename(f) not in excludes)
58
59
60def get_base_cflags(build_dir, force_object_files=False, preprocess=True):

Callers 5

get_filesMethod · 0.85
get_filesMethod · 0.85
get_filesMethod · 0.85
libmimallocClass · 0.85

Calls 2

setFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected