diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-06 20:38:08 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-06 20:38:08 +0900 |
| commit | a7bd624b3e9d4e9493435be1e6016303830e7087 (patch) | |
| tree | a52f74539dea9a302e99d8dad6e6c952dd27f13a /crates/shirabe/src/package/loader/loader_interface.rs | |
| parent | 9411867aa23f8f4f3a6b21b4e8ca9f498a16283a (diff) | |
| download | php-shirabe-a7bd624b3e9d4e9493435be1e6016303830e7087.tar.gz php-shirabe-a7bd624b3e9d4e9493435be1e6016303830e7087.tar.zst php-shirabe-a7bd624b3e9d4e9493435be1e6016303830e7087.zip | |
fix(repository-manager): fail explicitly on an unknown repository class
createRepository instantiates `new $class(...)` from the name registered
for the type. The port dispatches over the classes it implements, and the
remaining arm was a todo!(). setRepositoryClass is public API, so a plugin
registering a class of its own reached it and panicked.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/package/loader/loader_interface.rs')
0 files changed, 0 insertions, 0 deletions
