fs_patch
Apply exact text replacements to a file in memory, validate expected match counts, then write atomically to prevent partial updates.
Instructions
Apply one or more exact text replacements to a file in memory, validate expected match counts, then write once atomically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| edits | Yes | ||
| expectedSha256 | No |