MCPcopy Create free account
hub / github.com/appium/appium / executeStorageMethod

Function executeStorageMethod

packages/storage-plugin/lib/plugin.ts:130–133  ·  view source on GitHub ↗
(method: (storage: Storage) => Promise<T>)

Source from the content-addressed store, hash-verified

128};
129
130async function executeStorageMethod<T>(method: (storage: Storage) => Promise<T>): Promise<T> {
131 const storage = await getStorageSingleton();
132 return await method(storage);
133}
134
135function parseRequestArgs(req: Request, requiredKeys: string[]): Record<string, any> {
136 if (!util.isPlainObject(req.body)) {

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected