aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/version_cache_interface.rs
blob: 6dfeec0d317bb2c2ade20993ccf57d9e0148e6f6 (plain)
1
2
3
4
5
6
7
//! ref: composer/src/Composer/Repository/VersionCacheInterface.php

pub trait VersionCacheInterface: std::fmt::Debug {
    // 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) -> ();
}