private static @NotNull ContentHashEnumerator openContentHashEnumerator(@NotNull Path contentsHashesFile) throws IOException {
    if (FSRecordsImpl.USE_CONTENT_HASH_STORAGE_OVER_MMAPPED_FILE) {
      LOG.info("VFS uses content hash storage over mmapped file");
      return ContentHashEnumeratorOverDurableEnumerator.open(contentsHashesFile);
    }
    else {
      LOG.info("VFS uses content hash storage over regular FilePageCache");
      return ContentHashEnumerator.open(contentsHashesFile, PERSISTENT_FS_STORAGE_CONTEXT);
    }
  }
private static @NotNull ContentHashEnumerator openContentHashEnumerator(@NotNull Path contentsHashesFile)