zenpatch 0.5.2

A robust library for applying text-based patches, designed for AI coding agents with backtracking algorithm
Documentation
1
2
3
4
5
6
7
8
//! Defines the Virtual File System (VFS) type alias.
//!
//! The VFS is represented as a `HashMap` where keys are file paths (as `String`)
//! and values are the file contents (as `String`). This allows for in-memory
//! patch application and testing without accessing the physical file system.
//! Follows the one-item-per-file guideline.

pub type Vfs = std::collections::HashMap<std::string::String, std::string::String>;