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

Function isFreelyNamed

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

Source from the content-addressed store, hash-verified

40755 'components/securitySchemes',
40756 ],
40757 zl = ['schema/example', 'items/example']
40758 function isFreelyNamed(s) {
40759 const o = s[s.length - 1],
40760 i = s[s.length - 2],
40761 a = s.join('/')
40762 return (
40763 ($l.indexOf(o) > -1 && -1 === Ul.indexOf(i)) ||
40764 Vl.indexOf(a) > -1 ||
40765 zl.some((s) => a.indexOf(s) > -1)
40766 )
40767 }
40768 function absolutifyPointer(s, o) {
40769 const [i, a] = s.split('#'),

Callers 1

Calls 1

someMethod · 0.45

Tested by

no test coverage detected