refactor: Rename resourceExists to hasResource

The function was also moved to the smaller interface ResourceSet.
This commit is contained in:
Joachim Van Herwegen
2022-02-23 15:41:31 +01:00
parent 2ae5924dde
commit 4404fa07d9
26 changed files with 73 additions and 64 deletions

View File

@@ -42,7 +42,7 @@ export class JsonResourceStorage implements KeyValueStorage<string, unknown> {
public async has(key: string): Promise<boolean> {
const identifier = this.createIdentifier(key);
return await this.source.resourceExists(identifier);
return await this.source.hasResource(identifier);
}
public async set(key: string, value: unknown): Promise<this> {