Class HashEncodingPathStorage<T>

A variant of the EncodingPathStorage that hashes the key instead of converting to base64 encoding.

This class was created specifically to prevent the issue of identifiers being too long when storing data: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1013

This should eventually be replaced by a more structural approach once internal storage has been refactored and data migration from older versions and formats is supported.

Type Parameters

  • T

Hierarchy

Constructors

Properties

basePath: string
logger: Logger = ...
source: KeyValueStorage<string, T>

Methods