@@ -104,7 +104,7 @@ export interface DependencyCacheRestoreStatus {
104
104
download_duration_ms ?: number ;
105
105
}
106
106
107
- /** A partial mapping from languages to the results of restoring dependency caches for them . */
107
+ /** An array of `DependencyCacheRestoreStatus` objects for each analysed language with a caching configuration . */
108
108
export type DependencyCacheRestoreStatusReport = DependencyCacheRestoreStatus [ ] ;
109
109
110
110
/**
@@ -113,7 +113,7 @@ export type DependencyCacheRestoreStatusReport = DependencyCacheRestoreStatus[];
113
113
* @param languages The languages being analyzed.
114
114
* @param logger A logger to record some informational messages to.
115
115
* @param minimizeJavaJars Whether the Java extractor should rewrite downloaded JARs to minimize their size.
116
- * @returns A partial mapping of languages to results of restoring dependency caches for them .
116
+ * @returns An array of `DependencyCacheRestoreStatus` objects for each analysed language with a caching configuration .
117
117
*/
118
118
export async function downloadDependencyCaches (
119
119
languages : Language [ ] ,
@@ -197,7 +197,7 @@ export interface DependencyCacheUploadStatus {
197
197
upload_duration_ms ?: number ;
198
198
}
199
199
200
- /** A partial mapping from languages to the results of uploading dependency caches for them . */
200
+ /** An array of `DependencyCacheUploadStatus` objects for each analysed language with a caching configuration . */
201
201
export type DependencyCacheUploadStatusReport = DependencyCacheUploadStatus [ ] ;
202
202
203
203
/**
@@ -207,7 +207,7 @@ export type DependencyCacheUploadStatusReport = DependencyCacheUploadStatus[];
207
207
* @param logger A logger to record some informational messages to.
208
208
* @param minimizeJavaJars Whether the Java extractor should rewrite downloaded JARs to minimize their size.
209
209
*
210
- * @returns A partial mapping of languages to results of uploading dependency caches for them .
210
+ * @returns An array of `DependencyCacheUploadStatus` objects for each analysed language with a caching configuration .
211
211
*/
212
212
export async function uploadDependencyCaches (
213
213
config : Config ,
0 commit comments