/// <summary>
 /// Gets the pages that may have catalog leaves within the provided commit timestamp bounds. The result is
 /// sorted by commit timestamp.
 /// </summary>
 /// <param name="catalogIndex">The catalog index to fetch pages from.</param>
 /// <param name="minCommitTimestamp">The exclusive lower time bound on <see cref="CatalogPageItem.CommitTimestamp"/>.</param>
 /// <param name="maxCommitTimestamp">The inclusive upper time bound on <see cref="CatalogPageItem.CommitTimestamp"/>.</param>
 public static List <CatalogPageItem> GetPagesInBounds(
     this CatalogIndex catalogIndex,
     DateTimeOffset minCommitTimestamp,
     DateTimeOffset maxCommitTimestamp)
 {
     return(catalogIndex
            .GetPagesInBoundsLazy(minCommitTimestamp, maxCommitTimestamp)
            .ToList());
 }