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

Method waitForSource

valdi/vscode_debugger/src/test/test.ts:293–297  ·  view source on GitHub ↗
(filter?: string)

Source from the content-addressed store, hash-verified

291 }
292
293 waitForSource(filter?: string): Promise<Dap.LoadedSourceEventParams> {
294 return this.dap.once('loadedSource', event => {
295 return filter === undefined || forceForwardSlashes(event.source.path || '').includes(filter);
296 });
297 }
298
299 workspacePath(relative: string): string {
300 return this._root.workspacePath(relative);

Callers

nothing calls this directly

Calls 2

forceForwardSlashesFunction · 0.90
onceMethod · 0.65

Tested by

no test coverage detected