aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitmodules
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-03 23:24:52 +0900
committernsfisis <nsfisis@gmail.com>2026-06-03 23:24:52 +0900
commitdd19bda86582e9f6a4ba1879112d9ab3ba8432f6 (patch)
tree9d953ae1e832c499909b37a3df1c94d004ca640e /.gitmodules
parent60bfd667e4a98f5463a5bd5f2d0259bd0eeb0a5e (diff)
downloadphp-shirabe-dd19bda86582e9f6a4ba1879112d9ab3ba8432f6.tar.gz
php-shirabe-dd19bda86582e9f6a4ba1879112d9ab3ba8432f6.tar.zst
php-shirabe-dd19bda86582e9f6a4ba1879112d9ab3ba8432f6.zip
feat(downloader): implement ChangeReport/VcsCapable for VCS downloadersHEADmain
Git/Svn/Hg/Fossil/Perforce now implement ChangeReportInterface and VcsCapableDownloaderInterface and override the as_* downcasts, so PHP-style instanceof checks on a DownloaderInterface resolve to these sub-interfaces. get_local_changes lives directly in the ChangeReportInterface impl (returning anyhow::Result; GitDownloader now surfaces a RuntimeException instead of panicking on a failed git status). get_vcs_reference is shared via a new VcsDownloaderBase helper that each downloader delegates to. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions