aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/util.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-01-21 13:02:43 +0100
committerGitHub <noreply@github.com>2024-01-21 13:02:43 +0100
commitdc2a6d7bcee85481f3e53daffdb00436af01c309 (patch)
tree722ea33161735cc2efd1f94b51df88b939ff6d19 /src-tauri/src/util.rs
parent4d930dc7f38ebe4874e007628ff9b733d7b64e5b (diff)
downloadFlightCore-dc2a6d7bcee85481f3e53daffdb00436af01c309.tar.gz
FlightCore-dc2a6d7bcee85481f3e53daffdb00436af01c309.zip
feat: Add option to clone existing profile (#761)
* add dev button to refetch profiles * add dialog box with a table of all profiles * add button to delete non default profiles to dialog box * add button to clone profile to dialog box * style: Add trailing comma * docs: Add doc comment explaining function * fix: Remove leftover testing code * fix: Delete duplicate function registration * chore: Sort Tauri function registrations alphabetically --------- Co-authored-by: Jan200101 <sentrycraft123@gmail.com>
Diffstat (limited to 'src-tauri/src/util.rs')
-rw-r--r--src-tauri/src/util.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src-tauri/src/util.rs b/src-tauri/src/util.rs
index 15511d21..ad09eec2 100644
--- a/src-tauri/src/util.rs
+++ b/src-tauri/src/util.rs
@@ -188,7 +188,6 @@ pub fn check_northstar_running() -> bool {
}
/// Copies a folder and all its contents to a new location
-#[allow(dead_code)]
pub fn copy_dir_all(
src: impl AsRef<std::path::Path>,
dst: impl AsRef<std::path::Path>,