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

Method Git

deps/v8/tools/release/common_includes.py:401–407  ·  view source on GitHub ↗
(self, args="", prefix="", pipe=True, retry_on=None, cwd=None)

Source from the content-addressed store, hash-verified

399 return self.Retry(cmd, None, [5])
400
401 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None):
402 cmd = lambda: self._side_effect_handler.Command(
403 "git", args, prefix, pipe, cwd=cwd or self.default_cwd)
404 result = self.Retry(cmd, retry_on, [5, 30])
405 if result is None:
406 raise GitFailedException("'git %s' failed." % args)
407 return result
408
409 def Editor(self, args):
410 if self._options.requires_editor:

Callers 15

GetVersionTagMethod · 0.95
GetLatestVersionMethod · 0.95
FetchMethod · 0.80
GetTagsMethod · 0.80
RemoteBranchMethod · 0.80
TagMethod · 0.80
RunStepMethod · 0.80
GitIsWorkdirCleanMethod · 0.80
GitBranchMethod · 0.80
GitCreateBranchMethod · 0.80
GitDeleteBranchMethod · 0.80
GitResetMethod · 0.80

Calls 3

RetryMethod · 0.95
GitFailedExceptionClass · 0.90
CommandMethod · 0.45

Tested by 1

testGitMockMethod · 0.64