MCPcopy Create free account
hub / github.com/dethcrypto/dethcode / register

Function register

packages/ethereum-viewer/src/fs/fileSystem.ts:14–20  ·  view source on GitHub ↗
(context: vscode.ExtensionContext)

Source from the content-addressed store, hash-verified

12
13 return {
14 register(context: vscode.ExtensionContext) {
15 context.subscriptions.push(
16 vscode.workspace.registerFileSystemProvider("memfs", fs, {
17 isCaseSensitive: true,
18 })
19 );
20 },
21 writeFile(path: string, content: string) {
22 if (!path.startsWith("/")) path = "/" + path;
23

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected