Used to retrieve files for blueprint. @public @method files @param {Object} options @return {Array} Contents of the blueprint's files directory
(/* options */)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…