mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Update KeyValueStorage interface with entries function
This commit is contained in:
@@ -52,7 +52,7 @@ describe('A GreedyReadWriteLocker', (): void => {
|
||||
has: async(identifier: ResourceIdentifier): Promise<boolean> => map.has(identifier.path),
|
||||
set: async(identifier: ResourceIdentifier, value: number): Promise<any> => map.set(identifier.path, value),
|
||||
delete: async(identifier: ResourceIdentifier): Promise<boolean> => map.delete(identifier.path),
|
||||
};
|
||||
} as any;
|
||||
|
||||
locker = new GreedyReadWriteLocker(sourceLocker, storage);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user