~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/knotless

git that lives in your Atmosphere account

Forked from chadtmiller.com/knotless

0
0
8 lines · 272 B Raw History
<script lang="ts">
	/** A commit's short hash, linked to it when `href` is given. */
	let { sha, href }: { sha: string; href?: string } = $props();
</script>

{#if href}<a class="sha" {href}>{sha.slice(0, 7)}</a>{:else}<span class="sha"
		>{sha.slice(0, 7)}</span
	>{/if}