StripPreservationRegions
@aurorajs.dev/catalyst-cli / generator/engine/lock-file / stripPreservationRegions
Function: stripPreservationRegions()
Section titled “Function: stripPreservationRegions()”stripPreservationRegions(
content):string
Defined in: generator/engine/lock-file.ts:153
Strip preservation region bodies from content, preserving markers. Renaming a marker invalidates the hash because the marker name stays in the stripped string. Files without regions are returned unchanged.
Parameters
Section titled “Parameters”content
Section titled “content”string
Returns
Section titled “Returns”string