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

Function satisfy

tools/mkssldef.py:36–40  ·  view source on GitHub ↗
(expr, rules)

Source from the content-addressed store, hash-verified

34 if meta[0] != 'EXIST': continue
35 if meta[2] != 'FUNCTION': continue
36 def satisfy(expr, rules):
37 def test(expr):
38 if expr.startswith('!'): return not expr[1:] in rules
39 return expr == '' or expr in rules
40 return all(map(test, expr.split(',')))
41 if not satisfy(meta[1], defines): continue
42 if not satisfy(meta[3], categories): continue
43 exported.append(name)

Callers 1

mkssldef.pyFile · 0.85

Calls 2

mapFunction · 0.50
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…