MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / pushLine

Function pushLine

src/context/tree.ts:206–210  ·  view source on GitHub ↗
(line: string, ctx: TreeContext)

Source from the content-addressed store, hash-verified

204}
205
206function pushLine(line: string, ctx: TreeContext): void {
207 ctx.lines.push(line);
208 ctx.byteCount += line.length + 1; // +1 for newline
209 ctx.entryCount += 1;
210}
211
212export async function getGitBranch(cwd: string): Promise<string | undefined> {
213 try {

Callers 1

walkFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected