{#snippet level(dir: string, depth: number)} {@const items = listings.get(dir)} {#if items && 'problem' in items}
(。•︿•。) {items.problem}
{:else if items} {#each items as item (item.location)} {#if item.kind !== 'file'} {@const count = changedUnder(item.location)} {#if opened.has(item.location)}{@render level(item.location, depth + 1)}{/if} {:else} {@const mark = marks.get(item.location)} {/if} {/each} {/if} {/snippet}