MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / openDir

Method openDir

packages/filesystem/limiter.ts:110–115  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

108 }
109
110 async openDir(path: string): Promise<FileSystem> {
111 return this.limiter.execute(async () => {
112 const fs = await this.fs.openDir(path);
113 return new LimiterFileSystem(fs, this.limiter);
114 }, "openDir");
115 }
116
117 async create(path: string, opts?: FileCreateOptions): Promise<FileWriter> {
118 return this.limiter.execute(async () => {

Callers

nothing calls this directly

Calls 2

executeMethod · 0.65
openDirMethod · 0.65

Tested by

no test coverage detected