(file: WireEntryFile)
| 147 | } |
| 148 | |
| 149 | export function fileRow(file: WireEntryFile): EntryRow { |
| 150 | return { |
| 151 | id: `file:${file.file}`, |
| 152 | name: basename(file.file), |
| 153 | method: null, |
| 154 | kind: 'file', |
| 155 | meta: `${plural(file.calls, 'call')} at module level · reaches ${plural(file.reaches, 'file')}${ |
| 156 | file.dependents === 0 ? ' · nothing imports it' : '' |
| 157 | }`, |
| 158 | target: { type: 'file', path: file.file }, |
| 159 | flowFrom: null, |
| 160 | title: file.file, |
| 161 | }; |
| 162 | } |
| 163 | |
| 164 | export function testRow(test: WireEntryTest): EntryRow { |
| 165 | return { |
no test coverage detected