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

Method open

packages/filesystem/webdav/webdav.ts:70–72  ·  view source on GitHub ↗
(file: FileInfo)

Source from the content-addressed store, hash-verified

68 }
69
70 async open(file: FileInfo): Promise<FileReader> {
71 return new WebDAVFileReader(this.client, joinPath(file.path, file.name));
72 }
73
74 async openDir(path: string): Promise<FileSystem> {
75 return WebDAVFileSystem.fromSameClient(this, joinPath(this.basePath, path));

Callers

nothing calls this directly

Calls 1

joinPathFunction · 0.90

Tested by

no test coverage detected