MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / fDK

Function fDK

package/cli.js:4503–4503  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

4501
4502${_?"Oversized sections to condense":"IMPORTANT: The following sections exceed the per-section limit and MUST be condensed"}:
4503${z.join(`
4504`)}`);return Y.join("")}function U3Y(q,K){return q.replace(/\{\{(\w+)\}\}/g,(_,z)=>Object.prototype.hasOwnProperty.call(K,z)?K[z]:_)}async function fDK(q){let K=await m87();return q.trim()===K.trim()}async function ZDK(q,K){let _=await B3Y(),z=g3Y(q),Y=E3(q),$=F3Y(z,Y);return U3Y(_,{currentNotes:q,notesPath:K})+$}function GDK(q){let K=q.split(`
4505`),_=up8*4,z=[],Y=[],$="",A=!1;for(let w of K)if(w.startsWith("# ")){let j=PDK($,Y,_);z.push(...j.lines),A=A||j.wasTruncated,$=w,Y=[]}else Y.push(w);let O=PDK($,Y,_);return z.push(...O.lines),A=A||O.wasTruncated,{truncatedContent:z.join(`
4506`),wasTruncated:A}}function PDK(q,K,_){if(!q)return{lines:K,wasTruncated:!1};if(K.join(`

Callers 1

Bp8Function · 0.85

Calls 2

m87Function · 0.85
trimMethod · 0.45

Tested by

no test coverage detected