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

Method CommonCleanup

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

Source from the content-addressed store, hash-verified

474 self.DeleteBranch(self._config["BRANCHNAME"])
475
476 def CommonCleanup(self):
477 self.GitCheckout('origin/main')
478 self.GitDeleteBranch(self._config["BRANCHNAME"])
479
480 # Clean up all temporary files.
481 for f in glob.iglob("%s*" % self._config["PERSISTFILE_BASENAME"]):
482 if os.path.isfile(f):
483 os.remove(f)
484 if os.path.isdir(f):
485 shutil.rmtree(f)
486
487 def ReadAndPersistVersion(self, prefix=""):
488 def ReadAndPersist(var_name, def_name):

Callers 2

RunStepMethod · 0.80
RunStepMethod · 0.80

Calls 3

GitCheckoutMethod · 0.80
GitDeleteBranchMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected