MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / get_entry_value

Method get_entry_value

src/packagedcode/pyrpm.py:495–502  ·  view source on GitHub ↗

Return the value of an Entry for the `tag` number or None.

(self, tag)

Source from the content-addressed store, hash-verified

493 return self.get_entry_value(item)
494
495 def get_entry_value(self, tag):
496 """
497 Return the value of an Entry for the `tag` number or None.
498 """
499 entry = self.entries_by_tag.get(tag)
500 if not entry or not entry.value:
501 return
502 return entry.value
503
504 @property
505 def name(self):

Callers 15

__getitem__Method · 0.95
nameMethod · 0.95
epochMethod · 0.95
versionMethod · 0.95
releaseMethod · 0.95
archMethod · 0.95
osMethod · 0.95
summaryMethod · 0.95
descriptionMethod · 0.95
distributionMethod · 0.95
vendorMethod · 0.95
packagerMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected