MCPcopy Index your code
hub / github.com/codeaashu/claude-code / displayServerName

Function displayServerName

src/components/messages/UserChannelMessage.tsx:21–24  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

19// addPluginScopeToServers — show just the leaf. Matches the suffix-match
20// logic in isServerInChannels.
21function displayServerName(name: string): string {
22 const i = name.lastIndexOf(':');
23 return i === -1 ? name : name.slice(i + 1);
24}
25const TRUNCATE_AT = 60;
26export function UserChannelMessage(t0) {
27 const $ = _c(29);

Callers 1

UserChannelMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected