(expanded = !expanded)}>
{name}
{#if expanded} {#await treePromise then tree} {#if tree}
{#each tree.entries as entry (entry.path)} {#if entry.kind === "tree"} {:else if entry.kind === "blob"} fetchBlob(entry.path)} active={entry.path === currentPath} indent={indent + 1.5} /> {/if} {/each}
{/if} {/await} {/if}