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

Method get_api_header_files

deps/v8/tools/release/list_deprecated.py:33–39  ·  view source on GitHub ↗
(cls, options)

Source from the content-addressed store, hash-verified

31
32 @classmethod
33 def get_api_header_files(cls, options):
34 files = subprocess.check_output(
35 ['git', 'ls-tree', '--name-only', '-r', 'HEAD', options.include_dir],
36 encoding='UTF-8')
37 files = map(Path, filter(lambda l: l.endswith('.h'), files.splitlines()))
38 with Pool(processes=24) as pool:
39 return pool.map(cls, files)
40
41 def extract_version(self, hash):
42 if hash in VERSION_CACHE:

Callers 1

mainFunction · 0.80

Calls 5

mapMethod · 0.65
mapFunction · 0.50
filterFunction · 0.50
PoolClass · 0.50
splitlinesMethod · 0.45

Tested by

no test coverage detected