aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/vcs/vcs_driver_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/repository/vcs/vcs_driver_interface.rs')
-rw-r--r--crates/shirabe/src/repository/vcs/vcs_driver_interface.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/shirabe/src/repository/vcs/vcs_driver_interface.rs b/crates/shirabe/src/repository/vcs/vcs_driver_interface.rs
index a17acad..5b15c2c 100644
--- a/crates/shirabe/src/repository/vcs/vcs_driver_interface.rs
+++ b/crates/shirabe/src/repository/vcs/vcs_driver_interface.rs
@@ -1,15 +1,18 @@
//! ref: composer/src/Composer/Repository/Vcs/VcsDriverInterface.php
+use crate::config::Config;
+use crate::io::io_interface::IOInterface;
use chrono::{DateTime, Utc};
use indexmap::IndexMap;
use shirabe_php_shim::PhpMixed;
-use crate::config::Config;
-use crate::io::io_interface::IOInterface;
pub trait VcsDriverInterface {
fn initialize(&mut self) -> anyhow::Result<()>;
- fn get_composer_information(&self, identifier: &str) -> anyhow::Result<Option<IndexMap<String, PhpMixed>>>;
+ fn get_composer_information(
+ &self,
+ identifier: &str,
+ ) -> anyhow::Result<Option<IndexMap<String, PhpMixed>>>;
fn get_file_content(&self, file: &str, identifier: &str) -> anyhow::Result<Option<String>>;