MCPcopy Index your code
hub / github.com/ionic-team/capacitor / exists

Method exists

cli/test/util.ts:195–197  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

193 return await readFile(resolve(this.rootDir, path), { encoding: 'utf-8' });
194 }
195 async exists(path: string): Promise<boolean> {
196 return await pathExists(resolve(this.rootDir, path));
197 }
198}
199
200export { MappedFS };

Callers 6

loadWebViewMethod · 0.80
getFileUrlForUriMethod · 0.80
getUriFromPathMethod · 0.80
init.spec.tsFile · 0.80
add.ios.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected