Skip to main content

Module patch

Module patch 

Source

Structs§

ComposeGroupPatch
ComposeStageOutcome
Result of staging a compose group, including any files whose planned patch no longer applies and were therefore left uncommitted.
SkippedFile
A planned file whose patch could not be applied against the current state.

Enums§

StageResult

Functions§

build_compose_snapshot
create_executable_group_patch
force_stage_file_from_base
Force a file’s index entry to base + the selected hunks, ignoring the current index/worktree state entirely.
force_stage_file_from_base_in_index
reset_staging
Reset staging area.
stage_executable_group
stage_executable_group_in_index
stage_files
Stage specific files.