Function commit_in_worktree
Source pub fn commit_in_worktree(worktree_path: &Path, message: &str) -> Result<String>
Expand description
Commits changes in a worktree.
§Arguments
worktree_path - Path to the worktree
message - Commit message
§Returns
Ok(commit_hash) if commit was successful, Err if failed.