code: private Snapshot createDiskSnapshot(SnapshotDescriptor descriptor) {
      SnapshotFile file = new SnapshotFile(SnapshotFile.createSnapshotFile(name, storage.directory(), descriptor.index(), descriptor.timestamp()));
      Snapshot snapshot = new FileSnapshot(file, this);
      LOGGER.debug("Created disk snapshot: {}", snapshot);
      return snapshot;
    }
docs: Creates a disk snapshot.