MCPcopy Create free account
hub / github.com/Snapchat/Valdi / loadedSources

Method loadedSources

valdi/vscode_debugger/src/adapter/sources.ts:476–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

474 }
475
476 async loadedSources(): Promise<Dap.Source[]> {
477 const promises: Promise<Dap.Source>[] = [];
478 for (const source of this._sourceByReference.values()) promises.push(source.toDap());
479 return await Promise.all(promises);
480 }
481
482 source(ref: Dap.Source): Source | undefined {
483 if (ref.sourceReference) return this._sourceByReference.get(ref.sourceReference);

Callers

nothing calls this directly

Calls 4

valuesMethod · 0.80
allMethod · 0.65
pushMethod · 0.45
toDapMethod · 0.45

Tested by

no test coverage detected