Module git_async

Module git_async 

Source
Expand description

Async git operations for pipeline integration

Wraps the synchronous GitTools via tokio::task::spawn_blocking for use in async contexts (pipeline, GUI).

Functionsยง

current_branch
Get the current branch asynchronously.
execute_git
Execute a git operation asynchronously.
is_worktree_clean
Check whether a worktree is clean asynchronously.
rev_parse_toplevel
Resolve the repository top-level path asynchronously.
worktree_add
Create a worktree asynchronously.
worktree_list
List worktrees asynchronously.
worktree_remove
Remove a worktree asynchronously.