MCPcopy
hub / github.com/dotnet/vscode-csharp / getNullChannel

Function getNullChannel

test/fakes.ts:16–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14} from '../src/omnisharp/omnisharpLoggingEvents';
15
16export const getNullChannel = (): vscode.OutputChannel => {
17 const returnChannel: vscode.OutputChannel = {
18 name: '',
19 append: (_value: string) => {
20 /** empty */
21 },
22 appendLine: (_value: string) => {
23 /** empty */
24 },
25 clear: () => {
26 /** empty */
27 },
28 show: (_preserveFocusOrColumn?: boolean | vscode.ViewColumn, _preserveFocus?: boolean) => {
29 /** empty */
30 },
31 hide: () => {
32 /** empty */
33 },
34 dispose: () => {
35 /** empty */
36 },
37 };
38 return returnChannel;
39};
40
41export const getNullTelemetryReporter = (): ITelemetryReporter => {
42 const reporter: ITelemetryReporter = {

Calls

no outgoing calls

Tested by

no test coverage detected