MCPcopy Index your code
hub / github.com/coder/coder / reset

Method reset

site/src/utils/tar.ts:58–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 reset() {
59 this.fileInfo = [];
60 this._buffer = null;
61 }
62
63 async readFile(file: ArrayBuffer | Uint8Array | Blob) {
64 this.reset();

Callers 5

constructorMethod · 0.95
readFileMethod · 0.95
useWorkspaceUpdateFunction · 0.45
WorkspaceMoreActionsFunction · 0.45
useUnsavedChangesPromptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected