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

Function to_path

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

Source from the content-addressed store, hash-verified

53579 )
53580 }
53581 },
53582 to_path = (s) => {
53583 const o = ((s) => s.slice(2))(s)
53584 return o.reduce((s, i, a) => {
53585 if (Ru(i)) {
53586 const o = String(serializers_value(i.key))
53587 s.push(o)
53588 } else if (Mu(o[a - 2])) {
53589 const u = o[a - 2].content.indexOf(i)
53590 s.push(u)
53591 }
53592 return s
53593 }, [])
53594 }
53595 const ux = class ModelPropertyMacroVisitor {
53596 modelPropertyMacro

Callers 7

leaveMethod · 0.85
ReferenceElementMethod · 0.85
PathItemElementMethod · 0.85
SchemaElementMethod · 0.85
ExampleElementMethod · 0.85

Calls 4

serializers_valueFunction · 0.85
RuFunction · 0.50
reduceMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected