// Copyright (c) 2025 TerraByte Inc. // // An implementation of IConflictSource specifically for handling conflicts // that arise from a 'git stash apply' operation. using Terra.Arbitrator.Promises; using System.Collections.Generic; namespace Terra.Arbitrator.Services { /// /// Handles the resolution of conflicts from a git stash apply. /// public class StashConflictSource : IConflictSource { public string MineLabel => "Your Current Local Changes"; public string TheirsLabel => "Changes in 'Better Git Stash'"; public IPromise Resolve(List resolutions) { return GitService.ApplyStashAndOverwrite(resolutions); } } }