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

Function B

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

Source from the content-addressed store, hash-verified

88 e.__beforeBegin=A,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,
89 void 0===e.relevance&&(e.relevance=0))}function L(e,t){
90 Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function B(e,t){
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]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected