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

Function extractKey

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

Source from the content-addressed store, hash-verified

35116 },
35117 }
35118 }
35119 const extractKey = (s) => {
35120 const o = '_**[]'
35121 return s.indexOf(o) < 0 ? s : s.split(o)[0].trim()
35122 },
35123 escapeShell = (s) =>
35124 '-d ' === s || /^[_\/-]/g.test(s) ? s : "'" + s.replace(/'/g, "'\\''") + "'",

Callers 1

curlifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected