issueID function

combines project blob and issue number to create a clear issue identifier
This commit is contained in:
Oliver Bryan
2025-12-14 21:18:49 +00:00
parent c142836647
commit 0e4e84fe45

View File

@@ -4,3 +4,7 @@ import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) { export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs)); return twMerge(clsx(inputs));
} }
export function issueID(blob: string, num: number) {
return `${blob}-${num.toString().padStart(3, "0")}`;
}