debian_analyzer::patches

Function move_upstream_changes_to_patch

Source
pub fn move_upstream_changes_to_patch(
    local_tree: &WorkingTree,
    basis_tree: &dyn Tree,
    subpath: &Path,
    patch_name: &str,
    description: &str,
    dirty_tracker: Option<&mut DirtyTreeTracker>,
    timestamp: Option<NaiveDate>,
) -> Result<(Vec<PathBuf>, String), String>
Expand description

Move upstream changes to patch.

ยงArguments

  • local_tree - Local tree
  • basis_tree - Basis tree
  • subpath - Subpath
  • patch_name - Suggested patch name
  • description - Description