MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / cn

Function cn

packages/web/src/lib/utils.ts:20–22  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

18import { CodeHostType } from "@sourcebot/db";
19
20export function cn(...inputs: ClassValue[]) {
21 return twMerge(clsx(inputs))
22}
23
24/**
25 * If `ref` starts with a 40-character hex SHA, truncate the SHA portion to

Callers 15

userAvatar.tsxFile · 0.90
dialog.tsxFile · 0.90
DialogHeaderFunction · 0.90
DialogFooterFunction · 0.90
label.tsxFile · 0.90
switch.tsxFile · 0.90
carousel.tsxFile · 0.90
breadcrumb.tsxFile · 0.90
BreadcrumbSeparatorFunction · 0.90
BreadcrumbEllipsisFunction · 0.90
command.tsxFile · 0.90
CommandShortcutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected