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

Method Run

deps/v8/tools/release/common_includes.py:340–351  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

338 return self._config[key]
339
340 def Run(self):
341 # Restore state.
342 state_file = "%s-state.json" % self._config["PERSISTFILE_BASENAME"]
343 if not self._state and os.path.exists(state_file):
344 self._state.update(json.loads(FileToText(state_file)))
345
346 print(">>> Step %d: %s" % (self._number, self._text))
347 try:
348 return self.RunStep()
349 finally:
350 # Persist state.
351 TextToFile(json.dumps(self._state), state_file)
352
353 def RunStep(self): # pragma: no cover
354 raise NotImplementedError

Callers 10

RunStepsMethod · 0.45
merge_to_branch.pyFile · 0.45
auto_push.pyFile · 0.45
testBootstrapperMethod · 0.45
testCreateReleaseMethod · 0.45
testAutoPushMethod · 0.45
testRollMergeMethod · 0.45
testMergeToBranchMethod · 0.45
roll_merge.pyFile · 0.45
create_release.pyFile · 0.45

Calls 6

RunStepMethod · 0.95
FileToTextFunction · 0.85
TextToFileFunction · 0.85
updateMethod · 0.65
printFunction · 0.50
existsMethod · 0.45

Tested by 5

testBootstrapperMethod · 0.36
testCreateReleaseMethod · 0.36
testAutoPushMethod · 0.36
testRollMergeMethod · 0.36
testMergeToBranchMethod · 0.36