Commit 27f8564
committed
cmd/_async(feat[AsyncGit]): Add async git command class
why: Phase 3 of asyncio support - AsyncGit enables non-blocking git
operations for concurrent workflows.
what:
- Add AsyncGit class with core git commands:
- run(), clone(), fetch(), checkout(), status()
- rev_parse(), symbolic_ref(), rev_list(), show_ref()
- reset(), rebase(), version()
- Add AsyncGitSubmoduleCmd for submodule init/update
- Add AsyncGitRemoteManager for remote ls/show/add/remove/get_url
- Add AsyncGitStashCmd for stash ls/save/pop/drop/clear
- Add comprehensive tests (26 tests) with concurrency tests
- All methods support timeout parameter for cancellation1 parent 4656613 commit 27f8564
4 files changed
Lines changed: 1763 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments