dulwich-tree-0.2
توضیحات
Library to help make and commit modifications to a tree with Dulwich.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dulwich-tree-0.2 |
| نام | dulwich-tree |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Gary van der Merwe <garyvdm@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dulwich-tree/ |
| مجوز | - |
This library provides objects to make and commit modifications to tree using dulwich. It try's to provide and interface
similar to making changes to a os filesystem.
### Example:
writer = TreeWriter(repo)
writer.set_data('a/b', 'file b'.encode())
writer.do_commit(message='Add a/b.'.encode())
writer.set_data('a/b', b'file b ver 2',)
writer.do_commit(message='Modify a/b.'.encode())
writer.remove('a/b')
writer.do_commit(message='Remove a.'.encode())
نیازمندی
| مقدار | نام |
|---|---|
| - | dulwich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl dulwich-tree-0.2:
pip install dulwich-tree-0.2.whl
نصب پکیج tar.gz dulwich-tree-0.2:
pip install dulwich-tree-0.2.tar.gz