Skip to content

Commit

Permalink
refactor: move windows_utils to windows module
Browse files Browse the repository at this point in the history
  • Loading branch information
liias committed Sep 27, 2023
1 parent f0dfd37 commit 2f3aa82
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mod macos;
mod linux;

#[cfg(target_os = "windows")]
mod windows_utils;
mod windows;

pub mod communicate;

Expand Down
2 changes: 1 addition & 1 deletion src/paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::linux::linux_utils;
use crate::macos::macos_utils;

#[cfg(target_os = "windows")]
use crate::windows_utils;
use crate::windows::windows_utils;

#[cfg(target_os = "macos")]
pub fn get_cache_root_dir() -> PathBuf {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::linux::linux_utils;
#[cfg(target_os = "macos")]
use crate::macos::macos_utils;
#[cfg(target_os = "windows")]
use crate::windows_utils;
use crate::windows::windows_utils;
use crate::{paths, InstalledBrowser, SupportedAppRepository};

#[cfg(target_os = "macos")]
Expand Down
1 change: 1 addition & 0 deletions src/windows/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod windows_utils;
File renamed without changes.

0 comments on commit 2f3aa82

Please sign in to comment.