MCPcopy Create free account
hub / github.com/idank/explainshell / P

Function P

explainshell/web/static/js/highlight.min.js:93–94  ·  view source on GitHub ↗
(e,t)

Source from the content-addressed store, hash-verified

91 if(e.match){
92 if(e.begin||e.end)throw Error("begin & end are not supported with match")
93 ;e.begin=e.match,delete e.match}}function P(e,t){
94 void 0===e.relevance&&(e.relevance=1)}const D=(e,t)=>{if(!e.beforeMatch)return
95 ;if(e.starts)throw Error("beforeMatch cannot be used with starts")
96 ;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]
97 })),e.keywords=n.keywords,e.begin=h(n.beforeMatch,g(n.begin)),e.starts={

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected