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

Function build_property_variants

src/packagedcode/maven.py:914–920  ·  view source on GitHub ↗

Return an iterable of property variant names given a a property name.

(name)

Source from the content-addressed store, hash-verified

912
913
914def build_property_variants(name):
915 """
916 Return an iterable of property variant names given a a property name.
917 """
918 yield name
919 yield 'project.{}'.format(name)
920 yield 'pom.{}'.format(name)
921
922
923def _get_substring_expression(text):

Callers 1

_extra_propertiesMethod · 0.85

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected