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

Function _flag_prefix

deps/v8/tools/testrunner/testproc/fuzzer.py:102–107  ·  view source on GitHub ↗

Returns the flag part before an equal sign.

(flag)

Source from the content-addressed store, hash-verified

100
101
102def _flag_prefix(flag):
103 """Returns the flag part before an equal sign."""
104 if '=' not in flag:
105 return flag
106 else:
107 return flag[0:flag.index('=')]
108
109
110def _invert_flag(flag):

Callers 2

contradictory_flagFunction · 0.85

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…