Skip to main content

Function: normalizeCloudObjectKey()

normalizeCloudObjectKey(rawKey: string, options: NormalizeCloudKeyOptions): string

Defined in: shared/utils/cloudKeyNormalization.ts:159

Normalizes provider object keys into a canonical POSIX-ish representation.

Parametersโ€‹

rawKeyโ€‹

string

optionsโ€‹

NormalizeCloudKeyOptions = {}

Returnsโ€‹

string

Remarksโ€‹

This helper is intentionally normalization only. It does not enforce provider-specific sandbox rules (e.g. maximum byte length, required prefixes, etc). Those should be enforced by the caller.