MCPcopy Index your code
hub / github.com/ThatGuySam/doesitarm / findAppBundle

Method findAppBundle

build-lists.js:229–236  ·  view source on GitHub ↗
( needleBundleIdentifier )

Source from the content-addressed store, hash-verified

227 // Load the bundles from files
228 // so that we don't have to keep them in memory
229 async findAppBundle ( needleBundleIdentifier ) {
230 const bundles = await this.getSavedAppBundles()
231
232 return bundles.find( ([
233 storedAppBundleIdentifier,
234 // versions
235 ]) => storedAppBundleIdentifier === needleBundleIdentifier )
236 }
237
238 async getAppBundles ( app ) {
239 return await Promise.all( app.bundleIds.map( async bundleIdentifier => {

Callers 1

getAppBundlesMethod · 0.95

Calls 1

getSavedAppBundlesMethod · 0.95

Tested by

no test coverage detected