Browse modulesStorageFunctions
Function: encodeActorSegment()
function encodeActorSegment(actorId: string): string;Defined in: server/storage/s3-file-store.ts:107
Collision-free, reversible encoding of the raw actor id for the key's actor segment. base64url so distinct ids stay distinct (no sanitizer collisions) and the raw id round-trips for an exact-equality ownership check.
Parameters
| Parameter | Type |
|---|---|
actorId | string |
Returns
string