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

Method to_dict

src/packagedcode/pyrpm.py:617–637  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

615 return tgs
616
617 def to_dict(self):
618 return dict(
619 name=self.name,
620 epoch=self.epoch,
621 version=self.version,
622 release=self.release,
623 arch=self.arch,
624 os=self.os,
625 summary=self.summary,
626 description=self.description,
627 distribution=self.distribution,
628 vendor=self.vendor,
629 packager=self.packager,
630 license=self.license,
631 group=self.group,
632 url=self.url,
633 dist_url=self.dist_url,
634 source_rpm=self.source_rpm,
635 is_binary=self.is_binary,
636 files_digest_algo=self.files_digest_algo,
637 )

Callers 15

get_rpm_tagsFunction · 0.95
test_rpmMethod · 0.95
assembleMethod · 0.45
parseMethod · 0.45
get_base_purlFunction · 0.45
parseMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_rpmMethod · 0.76