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

Function files

lib/models/blueprint.js:266–279  ·  view source on GitHub ↗

Used to retrieve files for blueprint. @public @method files @param {Object} options @return {Array} Contents of the blueprint's files directory

(/* options */)

Source from the content-addressed store, hash-verified

264 @return {Array} Contents of the blueprint's files directory
265 */
266 files(/* options */) {
267 if (this._files) {
268 return this._files;
269 }
270
271 let filesPath = this.filesPath(this.options);
272 if (Blueprint._existsSync(filesPath)) {
273 this._files = walkSync(filesPath);
274 } else {
275 this._files = [];
276 }
277
278 return this._files;
279 },
280
281 /**
282 @method srcPath

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…