Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ getFileIcon
Function
getFileIcon
web/components/tools/FileIcon.tsx:93–96 ·
view source on GitHub ↗
(filePath: string)
Source
from the content-addressed store, hash-verified
91
}
92
93
export function getFileIcon(filePath: string): LucideIcon {
94
const ext = getExtension(filePath);
95
return EXT_MAP[ext] ?? File;
96
}
97
98
interface FileIconProps {
99
filePath: string;
Callers
1
FileIcon
Function · 0.85
Calls
1
getExtension
Function · 0.85
Tested by
no test coverage detected