MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / getFilesRootPath

Method getFilesRootPath

lib/config.ts:200–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 }
199
200 static async getFilesRootPath(): Promise<string> {
201 await this.loadConfig();
202
203 if (isAbsolute(this.config.files.rootPath)) {
204 return this.config.files.rootPath;
205 } else {
206 return join(Deno.cwd(), this.config.files.rootPath);
207 }
208 }
209
210 static async getEmailConfig(): Promise<Config['email']> {
211 await this.loadConfig();

Callers 15

handlerFunction · 0.80
postFunction · 0.80
listMethod · 0.80
createMethod · 0.80
searchNamesMethod · 0.80
listMethod · 0.80
createMethod · 0.80
updateMethod · 0.80
getMethod · 0.80
searchNamesMethod · 0.80
searchContentsMethod · 0.80

Calls 1

loadConfigMethod · 0.95

Tested by

no test coverage detected