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

Function vendorFileStem

javascript/selenium-webdriver/generate_bidi.mjs:234–236  ·  view source on GitHub ↗
(cddlArg)

Source from the content-addressed store, hash-verified

232}
233
234function vendorFileStem(cddlArg) {
235 return basename(resolveInputPath(cddlArg)).replace(/\.cddl$/, '')
236}
237
238// The vendor namespace is intrinsic to the field: a `moz:permanent` wire key belongs to `moz`.
239// Fields without a namespaced key fall back to the overlay file's stem.

Callers 1

applyVendorFunction · 0.85

Calls 1

resolveInputPathFunction · 0.85

Tested by

no test coverage detected