MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / getFileIcon

Function getFileIcon

src/components/FileTree.tsx:29–36  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

27}
28
29const getFileIcon = (name: string) => {
30 const lower = name.toLowerCase();
31 if (lower === "memory.md") return Brain;
32 if (lower === "soul.md") return Ghost;
33 if (lower === "user.md") return User;
34 if (lower === "agents.md") return BookOpen;
35 return FileText;
36};
37
38function TreeNode({
39 node,

Callers 1

TreeNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected