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

Function get_podspec_source

src/packagedcode/spec.py:88–94  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

86
87# FIXME: this does not smell right as we ignore the matched value
88def get_podspec_source(line):
89 if '.source' in line:
90 match = get_value(name='source', matcher=parse_podspec_source, line=line)
91 if match:
92 source = re.sub(r'/*.*source.*?>', '', line)
93 stripped_source = re.sub(r',.*', '', source)
94 return get_cleaned_string(stripped_source)
95
96
97def get_emails(line):

Callers

nothing calls this directly

Calls 2

get_valueFunction · 0.85
get_cleaned_stringFunction · 0.85

Tested by

no test coverage detected