Files
renovate/lib/util/cache/package/key.ts
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00

12 lines
300 B
TypeScript

import type { CombinedKey, PackageCacheNamespace } from './types.ts';
/**
* Returns the key used by underlying storage implementations
*/
export function getCombinedKey(
namespace: PackageCacheNamespace,
key: string,
): CombinedKey {
return `datasource-mem:pkg-fetch:${namespace}:${key}`;
}