import Link from "next/link"; import type { TreeEntry } from "@/lib/api"; import { byteSize } from "@/lib/format"; function DirIcon() { return ( ); } function FileIcon() { return ( ); } export default function TreeTable({ repo, refName, dir, entries, }: { repo: string; refName: string; dir: string; entries: TreeEntry[]; }) { const ref = encodeURIComponent(refName); const base = dir ? `${dir}/` : ""; return (
empty directory
)}