MCPcopy Create free account
hub / github.com/dataease/SQLBot / fromURIReference

Function fromURIReference

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

Source from the content-addressed store, hash-verified

43115 this.element)
43116 }
43117 },
43118 fromURIReference = (s) => {
43119 const o = s.indexOf('#')
43120 return ((s) => {
43121 try {
43122 const o = s.startsWith('#') ? s.slice(1) : s
43123 return decodeURIComponent(o)
43124 } catch {
43125 return s
43126 }
43127 })(-1 === o ? '#' : s.substring(o))
43128 },
43129 kp = function fnparser() {
43130 const s = Pp,

Callers 8

uri_evaluateFunction · 0.85
ReferenceElementMethod · 0.85
PathItemElementMethod · 0.85
LinkElementMethod · 0.85
SchemaElementMethod · 0.85
ReferenceElementMethod · 0.85
PathItemElementMethod · 0.85
SchemaElementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected