Skip to main content

Crate typed_patch

Crate typed_patch 

Source
Expand description

§typed-patch

Structured patch schema plus validation and apply helpers.

This crate owns the typed patch representation, anchor/range edit model, and deterministic validation/apply surface used by forge-engine. It does not own execution backends or archive/promotion policy.

§typed-patch

Structured patch model plus validation and application helpers.

This Tier 3 crate turns edits into typed operations, validates them against forge-policy constraints, and applies them through a workspace-safe filesystem abstraction.

Structs§

FileEdit
LineAttributionMap
LineRange
PatchPolicy
StructuredPatch
ValidationResult

Enums§

Anchor
EditOp
FileMode
PatchError

Functions§

apply_patch
render_diff
validate_patch