Skip to content

Commit d44c8b3

Browse files
committed
Fix comments
1 parent e6768a1 commit d44c8b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dependency-caching.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export interface DependencyCacheRestoreStatus {
104104
download_duration_ms?: number;
105105
}
106106

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. */
108108
export type DependencyCacheRestoreStatusReport = DependencyCacheRestoreStatus[];
109109

110110
/**
@@ -113,7 +113,7 @@ export type DependencyCacheRestoreStatusReport = DependencyCacheRestoreStatus[];
113113
* @param languages The languages being analyzed.
114114
* @param logger A logger to record some informational messages to.
115115
* @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.
117117
*/
118118
export async function downloadDependencyCaches(
119119
languages: Language[],
@@ -197,7 +197,7 @@ export interface DependencyCacheUploadStatus {
197197
upload_duration_ms?: number;
198198
}
199199

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. */
201201
export type DependencyCacheUploadStatusReport = DependencyCacheUploadStatus[];
202202

203203
/**
@@ -207,7 +207,7 @@ export type DependencyCacheUploadStatusReport = DependencyCacheUploadStatus[];
207207
* @param logger A logger to record some informational messages to.
208208
* @param minimizeJavaJars Whether the Java extractor should rewrite downloaded JARs to minimize their size.
209209
*
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.
211211
*/
212212
export async function uploadDependencyCaches(
213213
config: Config,

0 commit comments

Comments
 (0)