MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / writeFile

Method writeFile

src/platform/common/platform/types.ts:45–45  ·  view source on GitHub ↗
(uri: vscode.Uri, text: string | Uint8Array)

Source from the content-addressed store, hash-verified

43 readFile(uri: vscode.Uri): Promise<string>;
44 stat(uri: vscode.Uri): Promise<vscode.FileStat>;
45 writeFile(uri: vscode.Uri, text: string | Uint8Array): Promise<void>;
46 getFiles(dir: vscode.Uri): Promise<vscode.Uri[]>;
47 exists(uri: vscode.Uri, fileType?: vscode.FileType): Promise<boolean>;
48 getFileHash(filename: vscode.Uri): Promise<string>;

Callers 15

renameNotebookMethod · 0.65
deleteNotebookMethod · 0.65
duplicateNotebookMethod · 0.65
renameProjectMethod · 0.65
newProjectMethod · 0.65
importNotebookMethod · 0.65
exportProjectMethod · 0.65
exportNotebookMethod · 0.65

Implementers 2

FileSystemsrc/platform/common/platform/fileSyste
FileSystemsrc/platform/common/platform/fileSyste

Calls

no outgoing calls

Tested by 2

launchKernelFunction · 0.52
setupMockFsFunction · 0.52