No-clobber primitives for Accrue-generated host files.
Summary
Functions
Returns true when the on-disk file is still a pristine Accrue-generated file.
Redacts Stripe/API secret material before installer report output.
Adds the Accrue generated marker and SHA256 fingerprint to rendered content.
Returns true when a generated file contains user edits.
Writes new files and updates pristine generated files; skips user-edited files.
Writes a patch snippet artifact under .accrue/conflicts/patches/.
Writes a template replacement artifact under .accrue/conflicts/templates/.
Types
Functions
Returns true when the on-disk file is still a pristine Accrue-generated file.
Redacts Stripe/API secret material before installer report output.
Adds the Accrue generated marker and SHA256 fingerprint to rendered content.
Returns true when a generated file contains user edits.
@spec write(Path.t(), String.t(), keyword()) :: write_result()
Writes new files and updates pristine generated files; skips user-edited files.
Writes a patch snippet artifact under .accrue/conflicts/patches/.
Writes a template replacement artifact under .accrue/conflicts/templates/.