@method buildFileInfo @param {Function} destPath @param {Object} templateVariables @param {String} file @param {Object} options may be used when buildFileInfo is customized in a blueprint @return {FileInfo | null}
(intoDir, templateVariables, file /*, options */)
| 801 | @return {FileInfo | null} |
| 802 | */ |
| 803 | buildFileInfo(intoDir, templateVariables, file /*, options */) { |
| 804 | let mappedPath = this.mapFile(file, templateVariables); |
| 805 | |
| 806 | return new FileInfo({ |
| 807 | action: 'write', |
| 808 | outputBasePath: path.normalize(intoDir), |
| 809 | outputPath: path.join(intoDir, mappedPath), |
| 810 | displayPath: path.normalize(mappedPath), |
| 811 | inputPath: this.srcPath(file), |
| 812 | templateVariables, |
| 813 | ui: this.ui, |
| 814 | }); |
| 815 | }, |
| 816 | |
| 817 | /** |
| 818 | @method isUpdate |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…