{#if languages.length} {/if}

{heading}

{#if data.type === 'code'} {#if code.kind === 'found' && code.answer.files.length}

{plural(code.answer.fileCount, 'file', 'files')}{#if within}{' in '}{within[1]}/{within[2]}{' · '}Search all of knotless{/if}

{#if !files.href && code.answer.fileCount > DEEPEST}

These are the best {DEEPEST}. Add lang:, file: or repo: to find the rest.

{/if} {:else}
{#if code.kind === 'off'}This server searches no code. {:else if code.kind === 'missing'}Check its owner and name, or search all of knotless. {:else if code.kind === 'bad'}{code.message} {:else if code.kind === 'found'}{#if picked && languages.length}No {languages.find( (l) => l.name.toLowerCase() === picked )?.name ?? picked} file matches. Search every language instead.{:else if within}Nothing in {within[1]}/{within[2]} matches. Search all of knotless instead.{:else}Only each repository’s default branch is searched. Search repositories instead.{/if} {:else}Type what to look for, as a word, "quoted text" or /a regex/. Add repo:owner/name to search one repository.{/if}
{/if} {:else} {#if data.owners.length}

Owners

Repositories

{/if} {#snippet empty()}{#if data.indexed}{:else}This server keeps no index to search.{/if}{/snippet} {/if}