Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ get_api_data_url
Function
get_api_data_url
src/packagedcode/opam.py:125–127 ·
view source on GitHub ↗
(name, version)
Source
from the content-addressed store, hash-verified
123
124
125
def
get_api_data_url(name, version):
126
if
name and version:
127
return
f
'https://github.com/ocaml/opam-repository/blob/master/packages/{name}/{name}.{version}/opam'
128
129
130
# Regex expressions to parse file lines
Callers
1
parse
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected