doc: 添加热重载相关注释

This commit is contained in:
Rock Chin
2023-01-02 13:06:48 +08:00
parent f5bf012ba7
commit 85471fd0df
4 changed files with 13 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ import dulwich.porcelain
def update_all():
"""使用dulwich更新源码"""
try:
from dulwich import porcelain
repo = porcelain.open_repo('.')