MCPcopy Create free account
hub / github.com/cmoog/vscode-sql-notebook / writeSuccess

Function writeSuccess

src/controller.ts:115–123  ·  view source on GitHub ↗
(
  execution: vscode.NotebookCellExecution,
  outputs: vscode.NotebookCellOutputItem[][]
)

Source from the content-addressed store, hash-verified

113const { text, json } = vscode.NotebookCellOutputItem;
114
115function writeSuccess(
116 execution: vscode.NotebookCellExecution,
117 outputs: vscode.NotebookCellOutputItem[][]
118) {
119 execution.replaceOutput(
120 outputs.map((items) => new vscode.NotebookCellOutput(items))
121 );
122 execution.end(true, Date.now());
123}
124
125function outputJsonMimeType(): boolean {
126 return (

Callers 1

doExecutionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected