MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / checkDistro

Function checkDistro

Extension/src/common.ts:903–909  ·  view source on GitHub ↗
(platformInfo: PlatformInformation)

Source from the content-addressed store, hash-verified

901}
902
903export function checkDistro(platformInfo: PlatformInformation): void {
904 if (platformInfo.platform !== 'win32' && platformInfo.platform !== 'linux' && platformInfo.platform !== 'darwin') {
905 // this should never happen because VSCode doesn't run on FreeBSD
906 // or SunOS (the other platforms supported by node)
907 getOutputChannelLogger().appendLine(localize("warning.debugging.not.tested", "Warning: Debugging has not been tested for this platform.") + " " + getReadmeMessage());
908 }
909}
910
911export async function unlinkAsync(fileName: string): Promise<void> {
912 return new Promise<void>((resolve, reject) => {

Callers

nothing calls this directly

Calls 3

getOutputChannelLoggerFunction · 0.90
getReadmeMessageFunction · 0.85
appendLineMethod · 0.80

Tested by

no test coverage detected