MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / hasPathToken

Function hasPathToken

lib/models/blueprint.js:1676–1678  ·  view source on GitHub ↗

Looks for a __path__ token in the files folder. Must be present for the blueprint to support pod tokens. @private @method hasPathToken @param {files} files @return {Boolean}

(files)

Source from the content-addressed store, hash-verified

1674 @return {Boolean}
1675*/
1676function hasPathToken(files) {
1677 return /__path__/.test(files.join());
1678}
1679
1680function findAddonByName(addonOrProject, name) {
1681 let addon = addonOrProject.addons.find((addon) => addon.name === name);

Callers 2

installFunction · 0.85
uninstallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…