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

Method ReadIOSBotConfig

deps/v8/tools/mb/mb.py:543–556  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

541 return vals
542
543 def ReadIOSBotConfig(self):
544 if not self.args.builder_group or not self.args.builder:
545 return {}
546 path = self.PathJoin(self.chromium_src_dir, 'ios', 'build', 'bots',
547 self.args.builder_group, self.args.builder + '.json')
548 if not self.Exists(path):
549 return {}
550
551 contents = json.loads(self.ReadFile(path))
552 gn_args = ' '.join(contents.get('gn_args', []))
553
554 vals = self.DefaultVals()
555 vals['gn_args'] = gn_args
556 return vals
557
558 def ReadConfigFile(self):
559 if not self.Exists(self.args.config_file):

Callers 1

LookupMethod · 0.95

Calls 6

PathJoinMethod · 0.95
ExistsMethod · 0.95
ReadFileMethod · 0.95
DefaultValsMethod · 0.95
getMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected