pub fn is_branch_merged(branch_name: &str, target_branch: &str) -> Result<bool>Expand description
Check if a branch has been merged into a target branch.
§Arguments
branch_name- The branch to checktarget_branch- The target branch to check against (e.g., “main”)
§Returns
Ok(true)if the branch has been merged into the targetOk(false)if the branch exists but hasn’t been mergedErr(_)if git operations fail