(name: string, type: number)
| 164 | ["UNKNOWN", FileUnknownOutlined] |
| 165 | ]); |
| 166 | export const getFileIcon = (name: string, type: number) => { |
| 167 | name = filterFileName(name, true); |
| 168 | if (type === 0) return FolderOutlined; |
| 169 | return fileType.get(name) || FileOutlined; |
| 170 | }; |
nothing calls this directly
no test coverage detected