From 8ea07a97964a302909290e99998ec053f46957b6 Mon Sep 17 00:00:00 2001 From: "Florian RICHER (MrDev023)" Date: Wed, 11 Aug 2021 19:29:13 +0200 Subject: [PATCH] Move git module --- src/installer/{utils => git}/git.rs | 0 src/installer/git/mod.rs | 4 +++- src/installer/utils/mod.rs | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) rename src/installer/{utils => git}/git.rs (100%) diff --git a/src/installer/utils/git.rs b/src/installer/git/git.rs similarity index 100% rename from src/installer/utils/git.rs rename to src/installer/git/git.rs diff --git a/src/installer/git/mod.rs b/src/installer/git/mod.rs index 1c31ce3..820c06b 100644 --- a/src/installer/git/mod.rs +++ b/src/installer/git/mod.rs @@ -1,6 +1,8 @@ +mod git; + use std::env::consts; -use super::utils::{configure, downloader, extractor, git, file_utils}; +use super::utils::{configure, downloader, extractor, file_utils}; pub struct GitFileIdentifier { pub os_name: String, diff --git a/src/installer/utils/mod.rs b/src/installer/utils/mod.rs index 3f50e45..6a07bc0 100644 --- a/src/installer/utils/mod.rs +++ b/src/installer/utils/mod.rs @@ -4,6 +4,5 @@ pub(self) static PACKAGE_FOLDER : &str = "packages"; pub mod downloader; pub mod extractor; -pub mod git; pub mod file_utils; pub mod configure; \ No newline at end of file