aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/installed_repository_interface.rs
blob: 80efef9cd012a79650d3cf1f93132fcc65675991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! ref: composer/src/Composer/Repository/InstalledRepositoryInterface.php

use crate::repository::writable_repository_interface::WritableRepositoryInterface;

pub trait InstalledRepositoryInterface: WritableRepositoryInterface {
    fn get_dev_mode(&self) -> Option<bool>;

    fn is_fresh(&self) -> bool;

    fn clone_installed_repository_box(&self) -> Box<dyn InstalledRepositoryInterface> {
        todo!()
    }
}