mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 07:50:47 +00:00
039fce8dc6
Co-authored-by: Nabeel Saabna <48175656+nabeelsaabna@users.noreply.github.com> Co-authored-by: Rhys Arkins <rhys@arkins.net> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
20 lines
377 B
TypeScript
20 lines
377 B
TypeScript
import type { RepoCache, RepoCacheData } from '../types';
|
|
|
|
export class RepoCacheNull implements RepoCache {
|
|
private data: RepoCacheData = {};
|
|
|
|
// istanbul ignore next
|
|
load(): Promise<void> {
|
|
return Promise.resolve();
|
|
}
|
|
|
|
// istanbul ignore next
|
|
save(): Promise<void> {
|
|
return Promise.resolve();
|
|
}
|
|
|
|
getData(): RepoCacheData {
|
|
return this.data;
|
|
}
|
|
}
|