Skip to content

Commit 2f60cee

Browse files
committed
cmd/_async(feat): Add AsyncGit, AsyncHg, AsyncSvn command classes
why: Enable non-blocking VCS command execution for better concurrency. what: - Add AsyncGit with async run(), clone(), fetch(), etc. - Add AsyncHg with async run(), clone(), pull(), etc. - Add AsyncSvn with async run(), checkout(), update(), etc.
1 parent 520c274 commit 2f60cee

4 files changed

Lines changed: 2112 additions & 0 deletions

File tree

src/libvcs/cmd/_async/__init__.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
"""Async command abstractions for VCS operations.
2+
3+
This module provides async equivalents of the sync command classes
4+
in :mod:`libvcs.cmd`.
5+
6+
Note
7+
----
8+
This is an internal API not covered by versioning policy.
9+
"""
10+
11+
from __future__ import annotations
12+
13+
from libvcs.cmd._async.git import AsyncGit
14+
from libvcs.cmd._async.hg import AsyncHg
15+
from libvcs.cmd._async.svn import AsyncSvn
16+
17+
__all__ = [
18+
"AsyncGit",
19+
"AsyncHg",
20+
"AsyncSvn",
21+
]

0 commit comments

Comments
 (0)