Metadata-Version: 2.4
Name: dulwich-tree
Version: 0.3
Summary: Library to help make and commit modifications to a tree with Dulwich.
Author-email: Gary van der Merwe <garyvdm@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Version Control
Requires-Dist: dulwich
Project-URL: Source, https://github.com/garyvdm/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())

