MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / blank

Function blank

src/extraction/languages/php.ts:228–230  ·  view source on GitHub ↗
(from: number, to: number)

Source from the content-addressed store, hash-verified

226function phpCodeOnly(source: string): string {
227 const out = source.split('');
228 const blank = (from: number, to: number): void => {
229 for (let k = from; k < to && k < out.length; k++) if (out[k] !== '\n' && out[k] !== '\r') out[k] = ' ';
230 };
231 const n = source.length;
232 let i = 0;
233 let inPhp = false;

Callers 1

phpCodeOnlyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected