diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-12 02:34:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-12 02:34:48 +0900 |
| commit | 3e5ad185cc788f97e85db899aa2b2b972edc100e (patch) | |
| tree | 4d0747f7b2f15fbd8a8b345a55fc86cbcb41e148 /crates/shirabe/src | |
| parent | 16fcb72191dea250294ec27ea72f5653cfe4b075 (diff) | |
| download | php-shirabe-3e5ad185cc788f97e85db899aa2b2b972edc100e.tar.gz php-shirabe-3e5ad185cc788f97e85db899aa2b2b972edc100e.tar.zst php-shirabe-3e5ad185cc788f97e85db899aa2b2b972edc100e.zip | |
feat(port): VersionCacheInterface.php
Diffstat (limited to 'crates/shirabe/src')
| -rw-r--r-- | crates/shirabe/src/repository/version_cache_interface.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/shirabe/src/repository/version_cache_interface.rs b/crates/shirabe/src/repository/version_cache_interface.rs index ff84974..ce0b591 100644 --- a/crates/shirabe/src/repository/version_cache_interface.rs +++ b/crates/shirabe/src/repository/version_cache_interface.rs @@ -1 +1,7 @@ //! ref: composer/src/Composer/Repository/VersionCacheInterface.php + +pub trait VersionCacheInterface { + // No class implementing this interface exists in Composer's codebase; a plugin may provide + // one, but plugin support is not yet decided. Using () as a placeholder until then. + fn get_version_package(&self, version: &str, identifier: &str) -> (); +} |
