{path}
{#if from && to}
{from.slice(0, 12)} → {to.slice(0, 12)}
{/if} {#if problem}{/if} {#if result?.truncated}

Partial diff: the file exceeded the display limit.

{/if}
{#if result?.diff && DiffViewer} {#snippet failed()}
{result?.diff}
{/snippet}
{:else if result?.diff}

File metadata changed; no textual hunks.

{result.diff}
{:else if result}

{result.reason || 'No textual changes to show.'}

{:else if loading}

Reading diff…

{/if}