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

Method GetVersionTag

deps/v8/tools/release/common_includes.py:533–540  ·  view source on GitHub ↗
(self, revision)

Source from the content-addressed store, hash-verified

531 self.WaitForResolvingConflicts(patch_file)
532
533 def GetVersionTag(self, revision):
534 tags = self.Git(f"tag --points-at {revision}").strip().split('\n')
535 for tag in tags:
536 sanitized_tag = SanitizeVersionTag(tag)
537 if sanitized_tag:
538 return sanitized_tag
539
540 return None
541
542 def GetLatestVersion(self):
543 # Use cached version if available.

Callers

nothing calls this directly

Calls 3

GitMethod · 0.95
SanitizeVersionTagFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected