MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / getArrayWithJustTheCode

Function getArrayWithJustTheCode

static/history.ts:57–59  ·  view source on GitHub ↗
(editorSources: Record<string, any>[])

Source from the content-addressed store, hash-verified

55}
56
57function getArrayWithJustTheCode(editorSources: Record<string, any>[]): string[] {
58 return editorSources.map(s => s.source);
59}
60
61function getSimilarSourcesIndex(completeHistory: HistoryEntry[], sourcesToCompareTo: any[]): number {
62 let duplicateIdx = -1;

Callers 2

getSimilarSourcesIndexFunction · 0.85
pushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected