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

Function pushAll

src/utils.ts:425–427  ·  view source on GitHub ↗
(target: T[], items: readonly T[])

Source from the content-addressed store, hash-verified

423 * source file of a few megabytes are that many.
424 */
425export function pushAll<T>(target: T[], items: readonly T[]): void {
426 for (let i = 0; i < items.length; i++) target.push(items[i]!);
427}
428
429/** `Math.max(...values)` for a list of any length (see pushAll); -Infinity for none. */
430export function maxOf(values: readonly number[]): number {

Callers 12

extractBareScriptMethod · 0.90
addOptionsMembersMethod · 0.90
normalizeValueFunction · 0.90
extractMethod · 0.90
flushFnRefCandidatesMethod · 0.90
extractFromSourceFunction · 0.90
decodeKernelBundleFunction · 0.90
findDescendantFunction · 0.90
appendCppMacroMethodsFunction · 0.90
materializeKernelResultFunction · 0.90
tryKernelExtractFunction · 0.90

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected