Skip to main content

Module apply

Module apply 

Source
Expand description

Implements the main apply function for the zenpatch crate.

This file provides the public entry point for applying a patch to content. It orchestrates parsing the patch and then applying it based on the action type (Add, Update, Delete), handling different whitespace modes and retries. Conforms to rust coding guidelines (one item per file).

Functionsยง

apply
Applies a text-based patch to a Virtual File System (VFS) and returns the new VFS.