MCPcopy
hub / github.com/microsoft/vscode-js-debug / gatherSmNames

Function gatherSmNames

src/test/common/sourceMapRepository.test.ts:65–68  ·  view source on GitHub ↗
(list: FileGlobList)

Source from the content-addressed store, hash-verified

63 return result.values.sort((a, b) => a.compiledPath.length - b.compiledPath.length);
64 };
65 const gatherSmNames = async (list: FileGlobList) => {
66 const result = await gatherSm(list);
67 return result.map(r => fixDriveLetterAndSlashes(r.compiledPath));
68 };
69
70 const gatherAll = (list: FileGlobList) => {
71 return r.streamAllChildren(list, m => m).then(r => r.sort());

Callers 1

Calls 3

fixDriveLetterAndSlashesFunction · 0.90
gatherSmFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected