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

Function __path__

lib/models/blueprint.js:739–749  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

737 return options.dasherizedModuleName;
738 },
739 __path__(options) {
740 let blueprintName = options.blueprintName;
741
742 if (/-test/.test(blueprintName)) {
743 blueprintName = options.blueprintName.slice(0, options.blueprintName.indexOf('-test'));
744 }
745 if (options.pod && options.hasPathToken) {
746 return path.join(options.podPath, options.dasherizedModuleName);
747 }
748 return pluralize(blueprintName);
749 },
750 __root__(options) {
751 if (options.inRepoAddon) {
752 let addon = findAddonByName(project, options.inRepoAddon);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…