[project-history] fetch most recent chunk once when processing updates (#23261)

GitOrigin-RevId: 08ddd1f953b0dbae0541a60b45fec0f88e0a1d06
This commit is contained in:
Jakob Ackermann
2025-01-30 11:47:02 +00:00
committed by Copybot
parent 72b4083318
commit ba60f885a4
9 changed files with 132 additions and 25 deletions

View File

@@ -224,7 +224,7 @@ class Snapshot {
*
* @param {string} kind see {File#load}
* @param {ReadonlyBlobStore} blobStore
* @return {Promise<Object>} an object where keys are the pathnames and
* @return {Promise<Record<string, File>>} an object where keys are the pathnames and
* values are the files in the snapshot
*/
async loadFiles(kind, blobStore) {