public boolean mkdirs() throws IOException {
        Files.createDirectories(directory);
        return true;
    }
@Test
    void mkdirs() throws Exception {
        File folderRoot = temporaryFolder.toFile();
        File newFolder = new File(folderRoot, String.valueOf(UUID.randomUUID()));
        File innerNewFolder = new File(newFolder, String.valueOf(UUID.randomUUID()));
        Path path = innerNewFolder.toPath();

        assertThat(newFolder).doesNotExist();
        assertThat(innerNewFolder).doesNotExist();
        SnapshotDirectory snapshotDirectory = SnapshotDirectory.permanent(path);
        assertThat(snapshotDirectory.exists()).isFalse();
        assertThat(newFolder).doesNotExist();
        assertThat(innerNewFolder).doesNotExist();

        assertThat(snapshotDirectory.mkdirs()).isTrue();
        assertThat(newFolder).isDirectory();
        assertThat(innerNewFolder).isDirectory();
        assertThat(snapshotDirectory.exists()).isTrue();
    }