Skip to content

PromptScript API


Function: normalizeOutputCollisionKey()

normalizeOutputCollisionKey(path): string

Defined in: core/src/output-plan.ts:165

Return the stable key used to detect files that cannot coexist on common project filesystems.

Collision keys use NFC normalization and locale-independent case folding for every host. Keeping the plan conservative on case-sensitive hosts makes Node and browser consumers produce the same plan before a filesystem exists.

Parameters

path

string

Returns

string