Skip to content

Commit b365334

Browse files
committed
rename convert_to_iostore_directory to convert_directory_to_iostore
1 parent 32433de commit b365334

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

repak-gui/src/install_mod/install_mod_logic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub mod pak_files;
44
pub mod patch_meshes;
55

66
use crate::install_mod::InstallableMod;
7-
use iotoc::convert_to_iostore_directory;
7+
use iotoc::convert_directory_to_iostore;
88
use log::{error, info, warn};
99
use pak_files::create_repak_from_pak;
1010
use std::path::{Path, PathBuf};
@@ -71,7 +71,7 @@ pub fn install_mods_in_viewport(
7171
}
7272

7373
if installable_mod.is_dir {
74-
let res = convert_to_iostore_directory(
74+
let res = convert_directory_to_iostore(
7575
installable_mod,
7676
PathBuf::from(&mod_directory),
7777
PathBuf::from(&installable_mod.mod_path),

repak-gui/src/install_mod/install_mod_logic/iotoc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use std::fs::File;
1616
use path_slash::PathExt;
1717

1818

19-
pub fn convert_to_iostore_directory(
19+
pub fn convert_directory_to_iostore(
2020
pak: &InstallableMod,
2121
mod_dir: PathBuf,
2222
to_pak_dir: PathBuf,

repak-gui/src/install_mod/install_mod_logic/pak_files.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::path::{Path, PathBuf};
1414
use std::sync::atomic::AtomicI32;
1515
use tempfile::tempdir;
1616

17-
use super::iotoc::convert_to_iostore_directory;
17+
use super::iotoc::convert_directory_to_iostore;
1818

1919
pub fn extract_pak_to_dir(pak: &InstallableMod, install_dir: PathBuf) -> Result<(), repak::Error> {
2020
let pak_reader = pak.clone().reader.clone().unwrap();
@@ -87,7 +87,7 @@ pub fn create_repak_from_pak(
8787
let temp_path = temp_dir.path(); // Get the path of the temporary directory
8888

8989
extract_pak_to_dir(pak, temp_path.to_path_buf())?;
90-
convert_to_iostore_directory(
90+
convert_directory_to_iostore(
9191
pak,
9292
mod_dir.clone(),
9393
temp_path.to_path_buf(),

0 commit comments

Comments
 (0)