MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / repo_name

Function repo_name

scripts/update_cddl.py:95–100  ·  view source on GitHub ↗

Derive the Bazel repo name from a CDDL filename. ``at-driver-all.cddl`` -> ``at_driver_all_cddl``

(filename)

Source from the content-addressed store, hash-verified

93
94
95def repo_name(filename):
96 """Derive the Bazel repo name from a CDDL filename.
97
98 ``at-driver-all.cddl`` -> ``at_driver_all_cddl``
99 """
100 return filename[: -len(".cddl")].replace("-", "_") + "_cddl"
101
102
103def sha256_of_url(url):

Callers 1

build_entriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected