MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / createExternalTestFile

Function createExternalTestFile

src/test/dart/file_change_warnings.test.ts:51–56  ·  view source on GitHub ↗
(relativePath: string, content: string)

Source from the content-addressed store, hash-verified

49});
50
51function createExternalTestFile(relativePath: string, content: string): vs.Uri {
52 const tempFolder = getRandomTempFolder();
53 const absolutePath = path.join(tempFolder, relativePath);
54 createTempTestFile(absolutePath, content);
55 return vs.Uri.file(absolutePath);
56}

Callers 1

Calls 2

getRandomTempFolderFunction · 0.90
createTempTestFileFunction · 0.90

Tested by

no test coverage detected