mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-03 02:53:40 +00:00
1f719819c1
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
14 lines
399 B
TypeScript
14 lines
399 B
TypeScript
import upath from 'upath';
|
|
|
|
// Increment this whenever there could be incompatibilities between old and new cache structure
|
|
export const CACHE_REVISION = 13;
|
|
|
|
export function getLocalCacheFileName(
|
|
platform: string,
|
|
repository: string,
|
|
): string {
|
|
const repoCachePath = 'renovate/repository/';
|
|
const fileName = `${repository}.json`;
|
|
return upath.join(repoCachePath, platform, fileName);
|
|
}
|