{#if state.base.type === "file"}
Size
{formatDataVolume(state.base.file_size, 3)}
{:else if state.base.type === "dir" || state.base.type === "bucket"}
Directories
{formatThousands(total_directories, 3)}
Files
{formatThousands(total_files, 3)}
Total size
{formatDataVolume(total_file_size, 3)}
{/if}
{#if state.base.type === "file"} {/if} {#if state.base.path !== "/"} {/if} {#if state.base.path !== "/"} {/if}