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

Method constructor

packages/ethereum-viewer/src/fs/fileSystemProvider.ts:23–29  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

21 data?: Uint8Array;
22
23 constructor(name: string) {
24 this.type = vscode.FileType.File;
25 this.ctime = Date.now();
26 this.mtime = Date.now();
27 this.size = 0;
28 this.name = name;
29 }
30}
31
32export class Directory implements vscode.FileStat {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected