aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/config/config_source_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/config/config_source_interface.rs')
-rw-r--r--crates/shirabe/src/config/config_source_interface.rs15
1 files changed, 13 insertions, 2 deletions
diff --git a/crates/shirabe/src/config/config_source_interface.rs b/crates/shirabe/src/config/config_source_interface.rs
index 9f3321c..2a48635 100644
--- a/crates/shirabe/src/config/config_source_interface.rs
+++ b/crates/shirabe/src/config/config_source_interface.rs
@@ -4,9 +4,20 @@ use indexmap::IndexMap;
use shirabe_php_shim::PhpMixed;
pub trait ConfigSourceInterface {
- fn add_repository(&mut self, name: &str, config: Option<IndexMap<String, PhpMixed>>, append: bool) -> anyhow::Result<()>;
+ fn add_repository(
+ &mut self,
+ name: &str,
+ config: Option<IndexMap<String, PhpMixed>>,
+ append: bool,
+ ) -> anyhow::Result<()>;
- fn insert_repository(&mut self, name: &str, config: Option<IndexMap<String, PhpMixed>>, reference_name: &str, offset: i64) -> anyhow::Result<()>;
+ fn insert_repository(
+ &mut self,
+ name: &str,
+ config: Option<IndexMap<String, PhpMixed>>,
+ reference_name: &str,
+ offset: i64,
+ ) -> anyhow::Result<()>;
fn set_repository_url(&mut self, name: &str, url: &str) -> anyhow::Result<()>;