This commit is contained in:
Christoph Brandau
2026-06-27 13:03:07 +02:00
commit 3b9d636fdb
25 changed files with 9890 additions and 0 deletions
+1459
View File
File diff suppressed because it is too large Load Diff
+33
View File
@@ -0,0 +1,33 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
mod git;
use git::{
checkout_branch, commit, get_status, list_branches, list_commits, list_file_history,
list_repository_files, merge_branch, open_repository, pull, push, restore_file_from_commit,
restore_files, restore_to_commit, stage_files, unstage_files,
};
fn main() {
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![
open_repository,
get_status,
list_branches,
checkout_branch,
stage_files,
unstage_files,
restore_files,
commit,
pull,
push,
list_commits,
restore_to_commit,
restore_file_from_commit,
merge_branch,
list_repository_files,
list_file_history
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}