MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / _get

Function _get

js/botasaurus-js/src/cache.ts:43–50  ·  view source on GitHub ↗
(cachePath: string)

Source from the content-addressed store, hash-verified

41}
42
43function _get(cachePath: string): any {
44 try {
45 return readJson(cachePath);
46 } catch (error) {
47 _remove(cachePath);
48 throw new CacheMissException(cachePath);
49 }
50}
51
52function safeGet(cachePath: string): any {
53 try {

Callers 3

runTaskFunction · 0.90
runPlaywrightFunction · 0.90
getMethod · 0.70

Calls 2

readJsonFunction · 0.90
_removeFunction · 0.70

Tested by

no test coverage detected