aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/auth_helper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/auth_helper.rs')
-rw-r--r--crates/shirabe/src/util/auth_helper.rs15
1 files changed, 7 insertions, 8 deletions
diff --git a/crates/shirabe/src/util/auth_helper.rs b/crates/shirabe/src/util/auth_helper.rs
index 584ce69..8a89842 100644
--- a/crates/shirabe/src/util/auth_helper.rs
+++ b/crates/shirabe/src/util/auth_helper.rs
@@ -1,6 +1,13 @@
//! ref: composer/src/Composer/Util/AuthHelper.php
+use crate::config::Config;
+use crate::downloader::TransportException;
+use crate::io::IOInterface;
+use crate::io::IOInterfaceImmutable;
use crate::io::io_interface;
+use crate::util::Bitbucket;
+use crate::util::GitHub;
+use crate::util::GitLab;
use anyhow::Result;
use indexmap::IndexMap;
use shirabe_external_packages::composer::pcre::Preg;
@@ -10,14 +17,6 @@ use shirabe_php_shim::{
trim,
};
-use crate::config::Config;
-use crate::downloader::TransportException;
-use crate::io::IOInterface;
-use crate::io::IOInterfaceImmutable;
-use crate::util::Bitbucket;
-use crate::util::GitHub;
-use crate::util::GitLab;
-
#[derive(Debug)]
pub struct AuthHelper {
pub(crate) io: std::rc::Rc<std::cell::RefCell<dyn IOInterface>>,