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

use crate::repository::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!()
    }
}