MCPcopy Index your code
hub / github.com/dataease/SQLBot / isHttpUrl

Function isHttpUrl

frontend/public/swagger-ui-bundle.js:40175–40178  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

40173 const o = getProtocol(s)
40174 return bc(o) || 'file' === o || /^[a-zA-Z]$/.test(o)
40175 }),
40176 isHttpUrl = (s) => {
40177 const o = getProtocol(s)
40178 return 'http' === o || 'https' === o
40179 },
40180 toFileSystemPath = (s, o) => {
40181 const i = [/%23/g, '#', /%24/g, '$', /%26/g, '&', /%2C/g, ',', /%40/g, '@'],

Callers 3

absolutifyPointerFunction · 0.85
canReadMethod · 0.85
resolveOpenAPI31StrategyFunction · 0.85

Calls 1

getProtocolFunction · 0.85

Tested by

no test coverage detected