MCPcopy 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
93export function getFileIcon(filePath: string): LucideIcon {
94 const ext = getExtension(filePath);
95 return EXT_MAP[ext] ?? File;
96}
97
98interface FileIconProps {
99 filePath: string;

Callers 1

FileIconFunction · 0.85

Calls 1

getExtensionFunction · 0.85

Tested by

no test coverage detected