git状态以及文化管理器优化

This commit is contained in:
2025-08-09 18:01:59 +08:00
parent 1f13548039
commit 3bf68960a1
8 changed files with 1758 additions and 62 deletions

View File

@@ -62,10 +62,10 @@ use commands::packycode_nodes::{
};
use commands::filesystem::{
read_directory_tree, search_files_by_name, get_file_info, watch_directory,
read_file, write_file,
read_file, write_file, get_file_tree,
};
use commands::git::{
get_git_status, get_git_history, get_git_branches, get_git_diff,
get_git_status, get_git_history, get_git_branches, get_git_diff, get_git_commits,
};
use process::ProcessRegistryState;
use std::sync::Mutex;
@@ -311,12 +311,14 @@ fn main() {
watch_directory,
read_file,
write_file,
get_file_tree,
// Git
get_git_status,
get_git_history,
get_git_branches,
get_git_diff,
get_git_commits,
])
.run(tauri::generate_context!())
.expect("error while running tauri application");