Returns the tree for all public files @public @method treeForPublic @param {Tree} tree @return {Tree} Public file tree
(tree)
| 874 | @return {Tree} Public file tree |
| 875 | */ |
| 876 | treeForPublic(tree) { |
| 877 | if (!tree) { |
| 878 | return tree; |
| 879 | } |
| 880 | |
| 881 | return new Funnel(tree, { |
| 882 | srcDir: '/', |
| 883 | destDir: `/${this.moduleName()}`, |
| 884 | annotation: `Addon#treeForPublic (${this.name})`, |
| 885 | }); |
| 886 | }, |
| 887 | |
| 888 | /** |
| 889 | Returns the tree for all test files namespaced to a given addon. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…