diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-03 23:42:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-03 23:42:06 +0900 |
| commit | 8181f57ec3428195ac822590257cb3c135e25b5d (patch) | |
| tree | 004830f8f26fc166b6c518aa4cedbed0855dbdef /crates/shirabe/src/util/github.rs | |
| parent | dd19bda86582e9f6a4ba1879112d9ab3ba8432f6 (diff) | |
| download | php-shirabe-8181f57ec3428195ac822590257cb3c135e25b5d.tar.gz php-shirabe-8181f57ec3428195ac822590257cb3c135e25b5d.tar.zst php-shirabe-8181f57ec3428195ac822590257cb3c135e25b5d.zip | |
feat(downloader): return Result from getUnpushedChanges to bubble RuntimeException
Match PHP GitDownloader::getUnpushedChanges, which returns ?string while
throwing \RuntimeException on git command failure. Change the signature to
Result<Option<String>> and replace the three panic\!() sites with
Err(RuntimeException), mirroring the get_local_changes port. Thread ? through
the clean_changes and StatusCommand call sites.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/github.rs')
0 files changed, 0 insertions, 0 deletions
