Skip to main content

write_dir_patch

Function write_dir_patch 

Source
pub fn write_dir_patch(
    patch_path: &Path,
    patch_text: &str,
) -> Result<(), SkillfileError>
Expand description

Write a per-file patch for a directory entry.

ยงArguments

  • patch_path - Destination path (from dir_patch_path).
  • patch_text - Unified diff text to persist.