csharp4405de34 | 1 | namespace CascadeIDE.Services; |
| 2 | |
| 3 | /// <summary> |
| 4 | /// Порт: запуск <c>git</c> в указанном рабочем каталоге. Общий для Git-панели, телеметрии и MCP. |
| 5 | /// Реализация (DAL, внешний процесс): <c>CascadeIDE.Features.Git.DataAcquisition.GitCommandRunner</c>. |
| 6 | /// </summary> |
| 7 | public interface IGitCommandRunner |
| 8 | { |
| 9 | Task<(bool Success, int ExitCode, string Output)> RunAsync( |
| 10 | IReadOnlyList<string> args, |
| 11 | string workingDirectory, |
| 12 | CancellationToken cancellationToken = default); |
| 13 | } |
| 14 | |
View only · write via MCP/CIDE