diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-20 03:44:17 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-20 13:22:55 +0900 |
| commit | fc39608de4226286c34aed0c0803edd15a8623a8 (patch) | |
| tree | b166d1cdbc603538e34a0ec0bb68b13da7795195 /crates/shirabe-external-packages | |
| parent | 1afc35c977eb443967fc768d67057a28b56ba15b (diff) | |
| download | php-shirabe-fc39608de4226286c34aed0c0803edd15a8623a8.tar.gz php-shirabe-fc39608de4226286c34aed0c0803edd15a8623a8.tar.zst php-shirabe-fc39608de4226286c34aed0c0803edd15a8623a8.zip | |
refactor(installation-manager): cache installers by index, drop clone_box
InstallationManager::get_installer cached a per-type installer via a
Rust-only `clone_box` stub (`todo!()`). PHP caches the SAME instance
held in `$this->installers`. Store the index into `installers` instead,
reproducing that sharing without cloning; both `add_installer` and
`remove_installer` clear the cache, so indices never dangle. With the
only caller gone, `InstallerInterface::clone_box` is removed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages')
0 files changed, 0 insertions, 0 deletions
