feat (lib): add source_git

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-06-10 03:06:21 +08:00
parent aaae8fc7af
commit 797459750f
2 changed files with 22 additions and 0 deletions
+4
View File
@@ -59,3 +59,7 @@ def block_hook(hook: str):
def source_url(url: str):
sources.source_url(url)
def source_git(url: str, branch: str | None = None):
sources.source_git(url, branch)