aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/lib.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-11-03 22:42:48 +0100
committerGitHub <noreply@github.com>2022-11-03 22:42:48 +0100
commit1674b0b354faccf9160c904f049182d67253497f (patch)
tree1e5defb528c25e4dfb1ba0a83725cf218e530190 /src-tauri/src/lib.rs
parent142e843a5511b55d761ce10860664d709ad6d8bb (diff)
downloadFlightCore-1674b0b354faccf9160c904f049182d67253497f.tar.gz
FlightCore-1674b0b354faccf9160c904f049182d67253497f.zip
refactor: Rename function to better fit behaviour (#40)
Diffstat (limited to 'src-tauri/src/lib.rs')
-rw-r--r--src-tauri/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 416efb64..53230f38 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -481,7 +481,7 @@ pub fn set_mod_enabled_status(
/// Gets list of installed mods and their properties
/// - name
/// - is enabled?
-pub fn get_installed_mods(game_install: GameInstall) -> Result<Vec<NorthstarMod>, String> {
+pub fn get_installed_mods_and_properties(game_install: GameInstall) -> Result<Vec<NorthstarMod>, String> {
// Get enabled mods as JSON
let res: serde_json::Value = get_enabled_mods(game_install)?;